# date-picker

- 分组：组合组件（Composite）
- 页面：/components/date-picker
- 源码：packages/react/src/components/date-picker.tsx

## 导出

```ts
import { DatePicker } from "@modra/react";
```

## Props（DatePickerProps）

| 名称 | 必填 | 类型 | 说明 |
| --- | --- | --- | --- |
| `value` | 否 | `Date` |  |
| `defaultValue` | 否 | `Date` |  |
| `onValueChange` | 否 | `(value: Date \| undefined) => void` |  |
| `disabled` | 否 | `boolean \| Matcher \| Matcher[]` |  |
| `placeholder` | 否 | `string` |  |
| `locale` | 否 | `Locale` |  |
| `format` | 否 | `string` |  |
| `className` | 否 | `string` |  |
| `calendarClassName` | 否 | `string` |  |
