Skip to content

Commit 56840e5

Browse files
committed
I don't get these storybooks
1 parent a8fe473 commit 56840e5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/scripts/Select.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,8 @@ export const Option = (props) => {
6565

6666
Option.propTypes = {
6767
children: PropTypes.node,
68-
label: PropTypes.string,
68+
label: PropTypes.oneOfType([
69+
PropTypes.string,
70+
PropTypes.number
71+
]),
6972
};

0 commit comments

Comments
 (0)