mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-01-31 11:51:41 +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 {
|
export default class JSONTree extends React.Component {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
data: PropTypes.oneOfType([PropTypes.array, PropTypes.object]).isRequired,
|
data: PropTypes.any.isRequired,
|
||||||
hideRoot: PropTypes.bool,
|
hideRoot: PropTypes.bool,
|
||||||
theme: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
theme: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
||||||
invertTheme: PropTypes.bool,
|
invertTheme: PropTypes.bool,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user