@codecademy/gamut
73.6.173.6.2-alpha.3e37cd.0
dist/Popover/types.d.ts~
dist/Popover/types.d.tsModified+2−1
Index: package/dist/Popover/types.d.ts
===================================================================
--- package/dist/Popover/types.d.ts
+++ package/dist/Popover/types.d.ts
@@ -1,6 +1,7 @@
import { PatternProps } from '@codecademy/gamut-patterns';
import { HTMLAttributes, type RefObject } from 'react';
+import { ReservedDataAttributes } from '../utils';
import { PopoverVariants } from './elements';
export type FocusTrapPopoverProps = {
/**
* Called when the Popover requests to be closed,
@@ -56,9 +57,9 @@
pattern?: never;
};
type PopoverPositionType = PopoverYPositionType | PopoverXPositionType;
export type PopoverBaseProps = PopoverPositionType & PopoverFocusProps;
-export type PopoverProps = PopoverBaseProps & PopoverVariants & Pick<HTMLAttributes<HTMLDivElement>, 'role'> & {
+export type PopoverProps = PopoverBaseProps & PopoverVariants & ReservedDataAttributes & Pick<HTMLAttributes<HTMLDivElement>, 'role'> & {
/**
* Choice of animation - none by default.
*/
animation?: 'fade';