diff options
Diffstat (limited to 'src/module/Select.jsx')
-rw-r--r-- | src/module/Select.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/module/Select.jsx b/src/module/Select.jsx index b24f20c..3659692 100644 --- a/src/module/Select.jsx +++ b/src/module/Select.jsx | |||
@@ -30,6 +30,7 @@ const Select = React.createClass({ | |||
30 | selectedIndex: PropTypes.number, | 30 | selectedIndex: PropTypes.number, |
31 | type: PropTypes.string, | 31 | type: PropTypes.string, |
32 | onSelect: PropTypes.func, | 32 | onSelect: PropTypes.func, |
33 | onMouseEnter: PropTypes.func, | ||
33 | }, | 34 | }, |
34 | 35 | ||
35 | componentDidMount() { | 36 | componentDidMount() { |
@@ -79,7 +80,8 @@ const Select = React.createClass({ | |||
79 | const { prefixCls } = this.props; | 80 | const { prefixCls } = this.props; |
80 | 81 | ||
81 | return ( | 82 | return ( |
82 | <div className={`${prefixCls}-select`}> | 83 | <div className={`${prefixCls}-select`} |
84 | onMouseEnter={this.props.onMouseEnter}> | ||
83 | <ul ref="list">{this.getOptions()}</ul> | 85 | <ul ref="list">{this.getOptions()}</ul> |
84 | </div> | 86 | </div> |
85 | ); | 87 | ); |