From 9f4a9ff0775b06b6a95b75355bd403ec3daa051c Mon Sep 17 00:00:00 2001 From: Sean Date: Tue, 6 Oct 2020 10:35:59 +0200 Subject: [PATCH] fix onKeyPressEvent should not be required --- src/DayColumn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DayColumn.js b/src/DayColumn.js index a3a2c04ed..a4a1013aa 100644 --- a/src/DayColumn.js +++ b/src/DayColumn.js @@ -407,7 +407,7 @@ DayColumn.propTypes = { onSelectSlot: PropTypes.func.isRequired, onSelectEvent: PropTypes.func.isRequired, onDoubleClickEvent: PropTypes.func.isRequired, - onKeyPressEvent: PropTypes.func.isRequired, + onKeyPressEvent: PropTypes.func, className: PropTypes.string, dragThroughEvents: PropTypes.bool,