Skip to content

Commit

Permalink
Revert "Convert start/finish focus const to enum for TS (#46)" (#47)
Browse files Browse the repository at this point in the history
This reverts commit 16d249b.
  • Loading branch information
illusional authored Aug 24, 2020
1 parent 05ba00c commit ede4fd7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ declare module "react-nice-dates" {
format?: string;
}

export enum DateRangeFocus {
startDate = 'startDate',
endDate = 'endDate'
}
type DateRangeFocus = 'startDate' | 'endDate';

interface DateRangePickerChildrenProps {
startDateInputProps: InputProps;
Expand Down

0 comments on commit ede4fd7

Please sign in to comment.