Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
fix(toggle-group): remove .isRequired from value prop
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric authored and varl committed Nov 25, 2019
1 parent d2e9a92 commit abb790c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ToggleField.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const ToggleField = ({
* @prop {function} toggleComponent
*/
const toggleFieldPropTypes = {
value: propTypes.string.isRequired,
value: propTypes.string,
label: propTypes.node.isRequired,

name: propTypes.string,
Expand Down

0 comments on commit abb790c

Please sign in to comment.