mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-11 04:07:34 +03:00
fix(react-select): allow data for JSONTree to be any (#513)
This commit is contained in:
parent
e0df33ac7b
commit
de0a9c1180
2
packages/react-json-tree/src/index.js
vendored
2
packages/react-json-tree/src/index.js
vendored
|
@ -81,7 +81,7 @@ function getStateFromProps(props) {
|
|||
|
||||
export default class JSONTree extends React.Component {
|
||||
static propTypes = {
|
||||
data: PropTypes.oneOfType([PropTypes.array, PropTypes.object]).isRequired,
|
||||
data: PropTypes.any.isRequired,
|
||||
hideRoot: PropTypes.bool,
|
||||
theme: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
||||
invertTheme: PropTypes.bool,
|
||||
|
|
Loading…
Reference in New Issue
Block a user