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