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 OptionGroup = (_temp = _class = function (_React$Component) {
|
16 | _inherits(OptionGroup, _React$Component);
|
17 |
|
18 | function OptionGroup() {
|
19 | _classCallCheck(this, OptionGroup);
|
20 |
|
21 | return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
|
22 | }
|
23 |
|
24 | OptionGroup.prototype.render = function render() {
|
25 | return this.props.children;
|
26 | };
|
27 |
|
28 | return OptionGroup;
|
29 | }(React.Component), _class.propTypes = {
|
30 | |
31 |
|
32 |
|
33 | label: PropTypes.node,
|
34 | children: PropTypes.any
|
35 | }, _class._typeMark = 'next_select_option_group', _temp);
|
36 | OptionGroup.displayName = 'OptionGroup';
|
37 | export { OptionGroup as default }; |
\ | No newline at end of file |