diff --git a/changelogs/upcoming/7694.md b/changelogs/upcoming/7694.md new file mode 100644 index 00000000000..fd37afaf2ed --- /dev/null +++ b/changelogs/upcoming/7694.md @@ -0,0 +1,3 @@ +**Bug fixes** + +- Fixes missing prop type for `popperProps` on `EuiDatePicker` \ No newline at end of file diff --git a/src/components/date_picker/react-datepicker/src/index.d.ts b/src/components/date_picker/react-datepicker/src/index.d.ts index 99e8a3ced8b..c89db3e28e6 100644 --- a/src/components/date_picker/react-datepicker/src/index.d.ts +++ b/src/components/date_picker/react-datepicker/src/index.d.ts @@ -22,7 +22,7 @@ import * as React from 'react'; import * as moment from 'moment'; -import {PopoverAnchorPosition} from '../../../popover'; +import { EuiPopoverProps, PopoverAnchorPosition } from '../../../popover'; export interface ReactDatePickerProps { /** @@ -136,6 +136,7 @@ export interface ReactDatePickerProps { popperClassName?: string; popperContainer?(props: { children: React.ReactNode[] }): React.ReactNode; popperPlacement?: PopoverAnchorPosition; + popperProps?: Partial; preventOpenOnFocus?: boolean; readOnly?: boolean; required?: boolean;