mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
SelectTree: Improve Option prop-types
This commit is contained in:
parent
275c896052
commit
1e9c66a351
@ -55,7 +55,7 @@ Option.propTypes = {
|
||||
onToggle: PropTypes.func.isRequired,
|
||||
selectProps: PropTypes.shape({
|
||||
maxDisplayDepth: PropTypes.number,
|
||||
openValues: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
||||
openValues: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),
|
||||
onOptionToggle: PropTypes.func,
|
||||
}).isRequired,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user