From bbad09d271a1944a602f40977db734d79d3dd857 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Tue, 10 Oct 2017 12:26:06 -0300 Subject: [PATCH] Missing proptype --- client/coral-ui/components/Option.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/coral-ui/components/Option.js b/client/coral-ui/components/Option.js index dc58cd194..ffafe948c 100644 --- a/client/coral-ui/components/Option.js +++ b/client/coral-ui/components/Option.js @@ -12,7 +12,12 @@ const Option = ({className, children, onClick}) => ( Option.propTypes = { className: PropTypes.string, children: PropTypes.string, - onClick: PropTypes.func + onClick: PropTypes.func, + value: PropTypes.oneOfType([ + PropTypes.number, + PropTypes.string, + PropTypes.bool + ]), }; export default Option;