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')); -```` -