From f76c861cc9a2aeeadf2e6373313b4b24f9549ba8 Mon Sep 17 00:00:00 2001 From: Tyler Date: Mon, 3 Dec 2018 09:23:25 -0700 Subject: [PATCH] drop children prop --- types/react-flatpickr/index.d.ts | 1 - types/react-flatpickr/react-flatpickr-tests.tsx | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/types/react-flatpickr/index.d.ts b/types/react-flatpickr/index.d.ts index 5e3b12fdf8..c867527b06 100644 --- a/types/react-flatpickr/index.d.ts +++ b/types/react-flatpickr/index.d.ts @@ -20,7 +20,6 @@ export interface DateTimePickerProps { onValueUpdate?: flatpickr.Options.Hook; onDayCreate?: flatpickr.Options.Hook; value?: string | Date | number | ReadonlyArray; - children?: JSX.Element | JSX.Element[]; } export default class DatePicker extends Component {} diff --git a/types/react-flatpickr/react-flatpickr-tests.tsx b/types/react-flatpickr/react-flatpickr-tests.tsx index c51f527707..7a1c64c266 100644 --- a/types/react-flatpickr/react-flatpickr-tests.tsx +++ b/types/react-flatpickr/react-flatpickr-tests.tsx @@ -40,16 +40,3 @@ const valueDateArrayElement = ( const valueNumberArrayElement = ( ); - -const wrappedElement = ( - - - -); - -const wrappedElements = ( - - - - -);