From 63f0cd83cf30e464c836c46acb3cbca7f38e1c5e Mon Sep 17 00:00:00 2001 From: Henning Hall Date: Fri, 27 Dec 2019 18:18:44 +0100 Subject: [PATCH] Fix typo: prop-types --- propTypes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/propTypes.js b/propTypes.js index 13c3732..4a4c7cc 100644 --- a/propTypes.js +++ b/propTypes.js @@ -14,7 +14,9 @@ export default { minimumDate: DateType, maximumDate: DateType, mode: PropTypes.oneOf(['date', 'time', 'datetime']), - minuteInterval: 1 | 2 | 3 | 4 | 5 | 6 | 10 | 12 | 15 | 20 | 30, + minuteInterval: PropTypes.oneOf( + 1 | 2 | 3 | 4 | 5 | 6 | 10 | 12 | 15 | 20 | 30 + ), locale: PropTypes.string, textColor: PropTypes.string, timeZoneOffsetInMinutes: PropTypes.number,