From f588e480df396493dbeedce08ac4665d6cb13150 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 11 Nov 2015 15:48:02 +0800 Subject: [PATCH] remove demo just for bug tracing --- components/datepicker/demo/dialog.md | 45 ---------------------------- 1 file changed, 45 deletions(-) delete mode 100644 components/datepicker/demo/dialog.md diff --git a/components/datepicker/demo/dialog.md b/components/datepicker/demo/dialog.md deleted file mode 100644 index 7a14b53695..0000000000 --- a/components/datepicker/demo/dialog.md +++ /dev/null @@ -1,45 +0,0 @@ -# 结合弹出层 - -- order: 10 - -弹出层内的时间选择 - ---- - -````jsx -import { Modal, Button, Datepicker } from 'antd'; - -const App = React.createClass({ - getInitialState() { - return { visible: false }; - }, - showModal() { - this.setState({ - visible: true - }); - }, - handleOk() { - console.log('点击了确定'); - this.setState({ - visible: false - }); - }, - handleCancel() { - this.setState({ - visible: false - }); - }, - render() { - return
- - - - -
; - } -}); - -ReactDOM.render( , document.getElementById('components-datepicker-demo-dialog')); -```` -