mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-27 10:34:26 +08:00
16 lines
223 B
Markdown
16 lines
223 B
Markdown
# 基本
|
|
|
|
- order: 0
|
|
|
|
最简单的用法。
|
|
|
|
---
|
|
|
|
````jsx
|
|
import { Datepicker } from 'antd';
|
|
|
|
ReactDOM.render(
|
|
<Datepicker defaultValue="2015-12-12" />
|
|
, document.getElementById('components-datepicker-demo-basic'));
|
|
````
|