Skip to content

Commit 22a60de

Browse files
committed
Add PropTypes.string for defaultValue #12
1 parent 132129c commit 22a60de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Select2.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default class Select2 extends Component {
88
defaultValue: PropTypes.oneOfType([
99
PropTypes.number,
1010
PropTypes.array,
11+
PropTypes.string,
1112
]),
1213
data: PropTypes.array,
1314
events: PropTypes.array,

0 commit comments

Comments
 (0)