---
title: Calendar 日历
nav:
  title: 组件
  path: /component
group:
  title: 展示组件
  path: /show
  order: 2
---

# Calendar 日历

## 基础用法

<code src="./__fixtures__/basicUsage.tsx" />

## 标记日期

<code src="./__fixtures__/markedDaysDemo.tsx" />

## 日期范围限制

<code src="./__fixtures__/dateRangeDemo.tsx" />

## 固定周视图

<code src="./__fixtures__/weekViewDemo.tsx" />

## 国际化

<code src="./__fixtures__/localeDemo.tsx" />

## 自定义头部

<code src="./__fixtures__/customHeaderDemo.tsx" />

## 自定义主题

<code src="./__fixtures__/customThemeDemo.tsx" />

## 高级功能

<code src="./__fixtures__/advancedDemo.tsx" />

## 属性

组件内的时间除非特别声明，格式都为 `YYYY-MM-DD`

<API hideTitle src="./Calendar.tsx"></API>
