1 | import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
|
2 | import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
|
3 | import _inherits from 'babel-runtime/helpers/inherits';
|
4 |
|
5 | var _class, _temp;
|
6 |
|
7 | import React from 'react';
|
8 | import PropTypes from 'prop-types';
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | var Option = (_temp = _class = function (_React$Component) {
|
16 | _inherits(Option, _React$Component);
|
17 |
|
18 | function Option() {
|
19 | _classCallCheck(this, Option);
|
20 |
|
21 | return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
|
22 | }
|
23 |
|
24 | Option.prototype.render = function render() {
|
25 | return this.props.children;
|
26 | };
|
27 |
|
28 | return Option;
|
29 | }(React.Component), _class.propTypes = {
|
30 | |
31 |
|
32 |
|
33 | value: PropTypes.any.isRequired,
|
34 | |
35 |
|
36 |
|
37 | disabled: PropTypes.bool,
|
38 | children: PropTypes.any
|
39 | }, _class._typeMark = 'next_select_option', _temp);
|
40 | Option.displayName = 'Option';
|
41 | export { Option as default }; |
\ | No newline at end of file |