mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 07:09:55 +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'));
|
|
````
|