Skip to content

Commit

Permalink
checkboxes can have bool values
Browse files Browse the repository at this point in the history
  • Loading branch information
wheelsandcogs committed Nov 7, 2022
1 parent d35d701 commit 353b48c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types/value.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ import PropTypes from 'prop-types';

export default PropTypes.oneOfType([
PropTypes.number,
PropTypes.string
PropTypes.string,
PropTypes.bool
]);

0 comments on commit 353b48c

Please sign in to comment.