diff --git a/types/react-flatpickr/index.d.ts b/types/react-flatpickr/index.d.ts index 4586774568..a0a9725ccd 100644 --- a/types/react-flatpickr/index.d.ts +++ b/types/react-flatpickr/index.d.ts @@ -12,6 +12,7 @@ export interface DateTimePickerProps { options?: flatpickr.Options.Options; onChange?: flatpickr.Options.Hook; value?: string; + className?: string; } 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 fbbb6f45a7..452d8529b4 100644 --- a/types/react-flatpickr/react-flatpickr-tests.tsx +++ b/types/react-flatpickr/react-flatpickr-tests.tsx @@ -18,3 +18,5 @@ const onChange = ( const onChangeElement = ; const valueElement = ; + +const classNameElement = ;