From 555dbb9b29fc82cf74091c3d00d68c11287c4681 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Mon, 15 May 2017 16:18:08 +0800 Subject: [PATCH] docs: add MonthPicker disableDate demo --- components/date-picker/demo/disabled-date.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/date-picker/demo/disabled-date.md b/components/date-picker/demo/disabled-date.md index b317eebb47..21de6d0e5f 100644 --- a/components/date-picker/demo/disabled-date.md +++ b/components/date-picker/demo/disabled-date.md @@ -15,7 +15,7 @@ Disabled part of dates and time by `disabledDate` and `disabledTime` respectivel ````jsx import { DatePicker } from 'antd'; -const RangePicker = DatePicker.RangePicker; +const { MonthPicker, RangePicker } = DatePicker; function range(start, end) { const result = []; @@ -62,6 +62,8 @@ ReactDOM.render( showTime />
+ +