# calendar

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

## 导出

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

## Props（CalendarProps）

| 名称 | 必填 | 类型 | 说明 |
| --- | --- | --- | --- |
| `mode` | 否 | `"single" \| "range"` |  |
| `selected` | 否 | `Date \| DateRange` |  |
| `onSelect` | 否 | `(value: Date \| DateRange \| undefined) => void` |  |
| `disabled` | 否 | `Matcher \| Matcher[]` |  |
| `className` | 否 | `string` |  |
