We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd26eaf commit a8fe473Copy full SHA for a8fe473
src/scripts/Select.js
@@ -59,9 +59,9 @@ Select.propTypes = {
59
Select.isFormElement = true;
60
61
export const Option = (props) => {
62
- const { label, children, ...pprops } = this.props;
+ const { label, children, ...pprops } = props;
63
return (<option { ...pprops }>{ label || children }</option>);
64
-}
+};
65
66
Option.propTypes = {
67
children: PropTypes.node,
0 commit comments