Skip to content

Commit

Permalink
Reexport additional public props
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtrKovalenko committed May 31, 2020
1 parent 23ff4f9 commit f5048bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/DateRangePicker/RangeTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { ExportedDateRangePickerInputProps } from './DateRangePickerInput';

export type RangeInput = [ParsableDate, ParsableDate];
export type DateRange = [MaterialUiPickersDate, MaterialUiPickersDate];

export type AllSharedDateRangePickerProps = Omit<
AllSharedPickerProps<RangeInput, DateRange>,
'renderInput'
Expand Down
3 changes: 3 additions & 0 deletions lib/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export { useUtils } from './_shared/hooks/useUtils';
export { usePickerState } from './_shared/hooks/usePickerState';

export * from './typings/date';
export * from './typings/BasePicker';

export {
default as LocalizationProvider,
Expand All @@ -47,3 +48,5 @@ export type ClockProps = import('./views/Clock/Clock').ClockProps;
export type ToolbarComponentProps = import('./Picker/Picker').ToolbarComponentProps;
export type DateRangeDelimiterProps = import('./DateRangePicker/DateRangeDelimiter').DateRangeDelimiterProps;
export type LocalizationProviderProps = import('./LocalizationProvider').LocalizationProviderProps;
export type DateRange = import('./DateRangePicker/RangeTypes').DateRange;
export type RangeInput = import('./DateRangePicker/RangeTypes').RangeInput;

0 comments on commit f5048bc

Please sign in to comment.