Merge branch 'master' into jest

This commit is contained in:
Nathan Bierema 2020-12-19 14:50:05 -05:00 committed by GitHub
commit c0a71a751d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ function getStateFromProps(props: Props) {
export default class JSONTree extends React.Component<Props, State> { export default class JSONTree extends React.Component<Props, State> {
static propTypes = { static propTypes = {
data: PropTypes.any.isRequired, data: PropTypes.any,
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,