23 lines
685 B
JavaScript
23 lines
685 B
JavaScript
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
|
|
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
|
|
import _inherits from 'babel-runtime/helpers/inherits';
|
|
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
|
|
var Option = function (_React$Component) {
|
|
_inherits(Option, _React$Component);
|
|
|
|
function Option() {
|
|
_classCallCheck(this, Option);
|
|
|
|
return _possibleConstructorReturn(this, (Option.__proto__ || Object.getPrototypeOf(Option)).apply(this, arguments));
|
|
}
|
|
|
|
return Option;
|
|
}(React.Component);
|
|
|
|
Option.propTypes = {
|
|
value: PropTypes.string
|
|
};
|
|
Option.isSelectOption = true;
|
|
export default Option; |