Compare commits

...

2 Commits

Author SHA1 Message Date
Tom Moor ba5aa56479 simplify 2025-05-17 09:19:43 -04:00
codegen-sh[bot] ed25111305 fix: Filter out place prop and unstable Reakit props in Popover component 2025-05-17 04:28:16 +00:00
+3
View File
@@ -24,6 +24,8 @@ type Props = PopoverProps & {
scrollable?: boolean;
/** The position of the popover on mobile, defaults to "top". */
mobilePosition?: "top" | "bottom";
/** Place prop from Reakit that should not be passed to DOM */
place?: string;
/** Function to show the popover */
show: () => void;
/** Function to hide the popover */
@@ -39,6 +41,7 @@ const Popover = (
scrollable = true,
flex,
mobilePosition,
place,
...rest
}: Props,
ref: React.Ref<HTMLDivElement>