fix: `Select` `selectedKeys` type validation error [#597]
parent
5c7a79fff7
commit
bd298802e6
|
@ -21,7 +21,7 @@ export const menuProps = {
|
|||
theme: PropTypes.oneOf(['light', 'dark']).def('light'),
|
||||
mode: MenuMode.def('vertical'),
|
||||
selectable: PropTypes.bool,
|
||||
selectedKeys: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
||||
selectedKeys: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),
|
||||
defaultSelectedKeys: PropTypes.array,
|
||||
openKeys: PropTypes.array,
|
||||
defaultOpenKeys: PropTypes.array,
|
||||
|
|
Loading…
Reference in New Issue