Don't treat not as an array (in contrast to allOf, anyOf)

This commit is contained in:
Kyle Shockey
2017-11-21 14:08:55 -08:00
parent 2ad1bacf6f
commit 44d9234971
2 changed files with 9 additions and 7 deletions

View File

@@ -1,9 +1,10 @@
import React, { PureComponent } from "react"
import ImPropTypes from "react-immutable-proptypes"
import PropTypes from "prop-types"
export default class Model extends PureComponent {
static propTypes = {
schema: PropTypes.object.isRequired,
schema: ImPropTypes.orderedMap.isRequired,
getComponent: PropTypes.func.isRequired,
specSelectors: PropTypes.object.isRequired,
name: PropTypes.string,