mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
chore: fix lint
This commit is contained in:
parent
ad9e5b0fce
commit
1a652464f8
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user