diff --git a/components/datepicker/index.md b/components/datepicker/index.md index c0c90d1b6c..764a6618b8 100644 --- a/components/datepicker/index.md +++ b/components/datepicker/index.md @@ -33,6 +33,28 @@ 我的余生 都用来寻找北方 +## API + +- **value** `string` + + 初始值,如 `2015-01-01`。 + +- **format** `string` + + 显示的日期格式,默认为 `yyyy-MM-dd`。 + +- **showTime** `bollean` + + 显示时间选择条,默认为 `false`。 + +- **disabled** `function` + + 不可选择的日期。 + +- **onSelect** `function` + + 选择日期的回调。 +