Browse Source

fix: Calendar missing style (#23081)

pull/23087/head
二货机器人 5 years ago
committed by GitHub
parent
commit
4794bae529
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/calendar/generateCalendar.tsx

2
components/calendar/generateCalendar.tsx

@ -82,6 +82,7 @@ function generateCalendar<DateType>(generateConfig: GenerateConfig<DateType>) {
const {
prefixCls: customizePrefixCls,
className,
style,
dateFullCellRender,
dateCellRender,
monthFullCellRender,
@ -239,6 +240,7 @@ function generateCalendar<DateType>(generateConfig: GenerateConfig<DateType>) {
[`${calendarPrefixCls}-full`]: fullscreen,
[`${calendarPrefixCls}-mini`]: !fullscreen,
})}
style={style}
>
{headerRender ? (
headerRender({

Loading…
Cancel
Save