From ab405f9106fcca2949b265e6904af7ca3f27eea1 Mon Sep 17 00:00:00 2001 From: Shawn Pacarar Date: Tue, 31 Dec 2019 09:55:00 -0700 Subject: [PATCH] minuteInterval propType is an array --- propTypes.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/propTypes.js b/propTypes.js index 4a4c7cc..7a3b70b 100644 --- a/propTypes.js +++ b/propTypes.js @@ -14,9 +14,7 @@ export default { minimumDate: DateType, maximumDate: DateType, mode: PropTypes.oneOf(['date', 'time', 'datetime']), - minuteInterval: PropTypes.oneOf( - 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,