"use strict";

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

var _react = _interopRequireDefault(require("react"));

var _statefulSelectContainer = _interopRequireDefault(require("./stateful-select-container.js"));

var _select = _interopRequireDefault(require("./select.js"));

var _defaultProps = _interopRequireDefault(require("./default-props.js"));

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

/*
Copyright (c) 2018 Uber Technologies, Inc.

This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
function StatefulSelect(props) {
  return _react.default.createElement(_statefulSelectContainer.default, props, function (childrenProps) {
    return _react.default.createElement(_select.default, childrenProps);
  });
}

StatefulSelect.defaultProps = _defaultProps.default;