Thanks to visit codestin.com Credit goes to github.com
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 d64cd70 commit 5f7021eCopy full SHA for 5f7021e
‎src/select-menu/src/SelectMenuContent.js‎
@@ -31,8 +31,8 @@ export default class SelectMenuContent extends PureComponent {
31
static propTypes = {
32
close: PropTypes.func,
33
title: PropTypes.string,
34
- width: PropTypes.number,
35
- height: PropTypes.number,
+ width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
+ height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
36
headerHeight: PropTypes.number,
37
options: PropTypes.arrayOf(OptionShapePropType),
38
hasTitle: PropTypes.bool,
0 commit comments