From 93325fa0101fc6274f5eeef27798168c9ffe8e85 Mon Sep 17 00:00:00 2001 From: jquense Date: Mon, 15 Feb 2016 10:10:00 -0500 Subject: [PATCH] [fixed] add onNavigate to Calendar propTypes fixes #307 --- src/Calendar.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Calendar.jsx b/src/Calendar.jsx index 5fd8cede2..6177e3a82 100644 --- a/src/Calendar.jsx +++ b/src/Calendar.jsx @@ -76,8 +76,8 @@ let propTypes = { prop. This creates a range that cannot be rendered.`.replace(/\n\t/g, '')) }, + onNavigate: React.PropTypes.func, culture: React.PropTypes.string, - footer: React.PropTypes.bool, dayComponent: CustomPropTypes.elementType, @@ -282,7 +282,7 @@ let Calendar = React.createClass({ if (+this.props.tabIndex > -1) compat.findDOMNode(this).focus() }, - + @widgetEditable change(date){ if (this.state.view === this.props.initialView){