mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Export onSelect function types
This commit is contained in:
+2
-2
@@ -20,8 +20,8 @@ export interface RangedSelection {
|
||||
end: Date;
|
||||
}
|
||||
|
||||
type RangedSelectFunction = (rangedDate: RangedSelection) => void;
|
||||
type DateSelectFunction = (date: string) => void;
|
||||
export type RangedSelectFunction = (rangedDate: RangedSelection) => void;
|
||||
export type DateSelectFunction = (date: string) => void;
|
||||
|
||||
export interface ReactInfiniteCalendarProps {
|
||||
selected?: DateType | false | { start: DateType; end: DateType };
|
||||
|
||||
Reference in New Issue
Block a user