ant-design/components/date-picker/demo/month-picker.md
2016-03-31 09:40:55 +08:00

17 lines
246 B
Markdown

---
order: 9
title: 月选择器
---
使用 `MonthPicker` 实现月选择器.
````jsx
import { DatePicker } from 'antd';
const MonthPicker = DatePicker.MonthPicker;
ReactDOM.render(
<MonthPicker defaultValue="2015-12" />
, mountNode);
````