You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design/components/date-picker/demo/month-picker.md

16 lines
297 B
Markdown

# 月选择器
- order: 9
使用 `MonthPicker` 实现月选择器.
---
````jsx
import { DatePicker } from 'antd';
const MonthPicker = DatePicker.MonthPicker;
ReactDOM.render(
<MonthPicker defaultValue="2015-12" />
, document.getElementById('components-date-picker-demo-month-picker'));
````