mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-28 19:18:40 +08:00
17 lines
231 B
Markdown
17 lines
231 B
Markdown
# 基本
|
|
|
|
- order: 0
|
|
|
|
最简单的用法。
|
|
|
|
---
|
|
|
|
````jsx
|
|
// or require('antd/lib/datepicker');
|
|
var Datepicker = antd.Datepicker;
|
|
|
|
React.render(
|
|
<Datepicker />
|
|
, document.getElementById('components-datepicker-demo-basic'));
|
|
````
|