mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-28 02:58:32 +08:00
16 lines
239 B
Markdown
16 lines
239 B
Markdown
# 月选择器
|
|
|
|
- order: 9
|
|
|
|
使用 `MonthPicker` 实现月选择器.
|
|
|
|
---
|
|
|
|
````jsx
|
|
import { DatePicker } from 'antd';
|
|
const MonthPicker = DatePicker.MonthPicker;
|
|
ReactDOM.render(
|
|
<MonthPicker defaultValue="2015-12" />
|
|
, mountNode);
|
|
````
|