mirror of
https://github.com/wassname/talk.git
synced 2026-07-05 08:32:10 +08:00
Missing proptype
This commit is contained in:
@@ -12,7 +12,12 @@ const Option = ({className, children, onClick}) => (
|
||||
Option.propTypes = {
|
||||
className: PropTypes.string,
|
||||
children: PropTypes.string,
|
||||
onClick: PropTypes.func
|
||||
onClick: PropTypes.func,
|
||||
value: PropTypes.oneOfType([
|
||||
PropTypes.number,
|
||||
PropTypes.string,
|
||||
PropTypes.bool
|
||||
]),
|
||||
};
|
||||
|
||||
export default Option;
|
||||
|
||||
Reference in New Issue
Block a user