From 9411c6add6be91fe1f6b335fa184065ec10a8185 Mon Sep 17 00:00:00 2001 From: Lene Gadewoll Date: Tue, 16 Apr 2024 20:23:15 +0200 Subject: [PATCH] [EuiSuperUpdateButton] use Partial for toolTipProps (#7692) --- changelogs/upcoming/7692.md | 1 + .../date_picker/super_date_picker/super_update_button.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelogs/upcoming/7692.md diff --git a/changelogs/upcoming/7692.md b/changelogs/upcoming/7692.md new file mode 100644 index 00000000000..1e75a9a1c8f --- /dev/null +++ b/changelogs/upcoming/7692.md @@ -0,0 +1 @@ +- Fixed `toolTipProps` type on `EuiSuperUpdateButton` to use `Partial` \ No newline at end of file diff --git a/src/components/date_picker/super_date_picker/super_update_button.tsx b/src/components/date_picker/super_date_picker/super_update_button.tsx index 58d7687e251..ccba3d916f4 100644 --- a/src/components/date_picker/super_date_picker/super_update_button.tsx +++ b/src/components/date_picker/super_date_picker/super_update_button.tsx @@ -47,7 +47,7 @@ export type EuiSuperUpdateButtonProps = { /** * Passes props to `EuiToolTip` */ - toolTipProps?: EuiToolTipProps; + toolTipProps?: Partial; /** * Returns an IconButton instead