Repository URL to install this package:
|
Version:
3.0.1 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const renderProps_1 = require("./renderProps");
class Search extends react_1.default.PureComponent {
render() {
const _a = this.props,
{
renderSearch
} = _a,
remainingProps = tslib_1.__rest(_a, ["renderSearch"]);
const view = renderSearch(remainingProps);
return view;
}
}
Search.defaultProps = {
renderSearch: renderProps_1.defaultRenderSearch
};
exports.Search = Search;
exports.default = Search; //# sourceMappingURL=Search.js.map