From 4acbf95c7d2693d73b0c8c021ad892b6529d4c06 Mon Sep 17 00:00:00 2001 From: MG12 Date: Tue, 17 Nov 2015 22:16:15 +0800 Subject: remove TimePanel and merge it to TimePicker --- examples/pick-time.js | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'examples') diff --git a/examples/pick-time.js b/examples/pick-time.js index 8c6b826..54548c7 100644 --- a/examples/pick-time.js +++ b/examples/pick-time.js @@ -8,7 +8,6 @@ import DateTimeFormat from 'gregorian-calendar-format'; import zhCn from 'gregorian-calendar/lib/locale/zh_CN'; import TimePicker from 'rc-time-picker/src/TimePicker'; -import TimePanel from 'rc-time-picker/src/TimePanel'; import TimePickerLocale from 'rc-time-picker/src/locale/zh_CN'; const formatter = new DateTimeFormat('HH:mm:ss'); @@ -16,22 +15,7 @@ const formatter = new DateTimeFormat('HH:mm:ss'); const now = new GregorianCalendar(zhCn); now.setTime(Date.now()); -const timePanel = ( - -); - ReactDom.render( - - { - ({value}) => { - return ; - } - } - , + , document.getElementById('__react-content') ); -- cgit v1.2.3