Skip to content

Commit

Permalink
Fix proptypes of schemaform
Browse files Browse the repository at this point in the history
  • Loading branch information
soup-in-boots committed Mar 4, 2021
1 parent aa52250 commit b4eeffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/schema-form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ SchemaForm.propTypes = {
/**
* The schema to build against
*/
schema: PropTypes.object.isRequired,
schema: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
/** The forms to render */
form: PropTypes.oneOfType([PropTypes.func, Types.FormsType]),
/** A set of localization functions to use */
Expand Down

0 comments on commit b4eeffa

Please sign in to comment.