From f5048bcc03d1f241b6da896c5dbe502bdd8ff67a Mon Sep 17 00:00:00 2001 From: Dmitriy Kovalenko Date: Sun, 31 May 2020 15:05:04 +0300 Subject: [PATCH] Reexport additional public props --- lib/src/DateRangePicker/RangeTypes.ts | 1 + lib/src/index.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/lib/src/DateRangePicker/RangeTypes.ts b/lib/src/DateRangePicker/RangeTypes.ts index d44c1ecfc..d819dd08b 100644 --- a/lib/src/DateRangePicker/RangeTypes.ts +++ b/lib/src/DateRangePicker/RangeTypes.ts @@ -5,6 +5,7 @@ import { ExportedDateRangePickerInputProps } from './DateRangePickerInput'; export type RangeInput = [ParsableDate, ParsableDate]; export type DateRange = [MaterialUiPickersDate, MaterialUiPickersDate]; + export type AllSharedDateRangePickerProps = Omit< AllSharedPickerProps, 'renderInput' diff --git a/lib/src/index.ts b/lib/src/index.ts index 2017b791c..98eea333b 100644 --- a/lib/src/index.ts +++ b/lib/src/index.ts @@ -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, @@ -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;