chore: fix lint

This commit is contained in:
zombiej 2022-05-21 23:22:37 +08:00
parent ad9e5b0fce
commit 1a652464f8

View File

@ -16,11 +16,13 @@ Customize Calendar header content.
```tsx
import { Calendar, Col, Radio, Row, Select, Typography } from 'antd';
import type { CalendarMode } from 'antd/lib/calendar/generateCalendar';
import dayjs, { Dayjs } from 'dayjs';
import type { Dayjs } from 'dayjs';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
import localeData from 'dayjs/plugin/localeData';
import dayLocaleData from 'dayjs/plugin/localeData';
import React from 'react';
dayjs.extend(localeData);
dayjs.extend(dayLocaleData);
const App: React.FC = () => {
const onPanelChange = (value: Dayjs, mode: CalendarMode) => {