mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-29 20:08:37 +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'));
|
|
````
|