mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
react-native-calendars: solve custom day component could not get the correct date (#35431)
This commit is contained in:
parent
c865650c42
commit
fc3ab6fa12
4
types/react-native-calendars/index.d.ts
vendored
4
types/react-native-calendars/index.d.ts
vendored
@ -169,8 +169,8 @@ export type CalendarMarkingProps =
|
||||
export interface DayComponentProps {
|
||||
date: DateObject;
|
||||
marking: false | Marking[];
|
||||
onPress: () => any;
|
||||
onLongPress: () => any;
|
||||
onPress: (date: DateObject) => any;
|
||||
onLongPress: (date: DateObject) => any;
|
||||
state: '' | 'selected' | 'disabled' | 'today';
|
||||
theme: CalendarTheme;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user