import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' export default class Select extends ImmutablePureComponent { static propTypes = { options: PropTypes.oneOf([ ImmutablePropTypes.map, PropTypes.object, ]), value: PropTypes.string, onChange: PropTypes.func, } render() { const { value, options, onChange } = this.props return (
) } }