From 353b48cd14f0199e6d542f9253a4259610e8c806 Mon Sep 17 00:00:00 2001 From: Phil Moorhouse Date: Mon, 7 Nov 2022 16:37:30 +0000 Subject: [PATCH] checkboxes can have bool values --- src/types/value.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/types/value.js b/src/types/value.js index fbdff6b..332a55a 100644 --- a/src/types/value.js +++ b/src/types/value.js @@ -2,5 +2,6 @@ import PropTypes from 'prop-types'; export default PropTypes.oneOfType([ PropTypes.number, - PropTypes.string + PropTypes.string, + PropTypes.bool ]);