Export onSelect function types

This commit is contained in:
Christian Chown
2018-11-27 12:13:54 +00:00
parent 97c9978a56
commit aa7352876a
+2 -2
View File
@@ -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 };