Skip to content

Commit a457c72

Browse files
committed
type(Calendar): Fix type error.
1 parent c7257b1 commit a457c72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/Calendar/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export let newDates = new Date();
1111
export let toYear = newDates.getFullYear();
1212
export let toMonth = newDates.getMonth();
1313
export let toDays = newDates.getDate();
14-
interface barState {
14+
interface BarState {
1515
title?: string;
1616
barRightText?: string;
1717
barLeftText?: string;
@@ -24,7 +24,7 @@ export interface CalendarProps extends ViewProps {
2424
color: string;
2525
//是否显示农历及假日
2626
lunarHoliday: boolean;
27-
bar?: barState;
27+
bar?: BarState;
2828
//农历详情
2929
showLunar: boolean;
3030
}

0 commit comments

Comments
 (0)