"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _react = require("react");

var _react2 = _interopRequireDefault(_react);

var _reactJsonschemaForm = require("react-jsonschema-form");

var _reactJsonschemaForm2 = _interopRequireDefault(_reactJsonschemaForm);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var SEARCH_SCHEMA = {
  type: "string"
};

var SearchField = function SearchField(_ref) {
  var onSearch = _ref.onSearch;

  return _react2.default.createElement(
    _reactJsonschemaForm2.default,
    { schema: SEARCH_SCHEMA, onSubmit: onSearch },
    _react2.default.createElement("div", null)
  );
};

exports.default = SearchField;