@codecademy/gamut
73.6.173.6.2-alpha.3e37cd.0
dist/PopoverContainer/types.d.ts~
dist/PopoverContainer/types.d.tsModified+2−2
Index: package/dist/PopoverContainer/types.d.ts
===================================================================
--- package/dist/PopoverContainer/types.d.ts
+++ package/dist/PopoverContainer/types.d.ts
@@ -1,7 +1,7 @@
import { RefObject } from 'react';
import { FocusTrapProps } from '../FocusTrap';
-import { WithChildrenProp } from '../utils';
+import { ReservedDataAttributes, WithChildrenProp } from '../utils';
export type PopoverContainerAlignment = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top' | 'bottom' | 'left' | 'right';
export type TargetRef = Pick<HTMLDivElement, 'getBoundingClientRect' | 'contains' | 'offsetHeight' | 'offsetWidth' | 'offsetTop' | 'offsetLeft' | 'offsetParent'> & HTMLElement;
export interface PopoverPositionContext {
width: number;
@@ -40,9 +40,9 @@
export interface PopoverPositionConfig extends PopoverAlignment {
container: PopoverPositionContext;
alignment: PopoverContainerAlignment;
}
-export interface PopoverContainerProps extends PopoverAlignment, WithChildrenProp, Pick<FocusTrapProps, 'focusOnProps'> {
+export interface PopoverContainerProps extends PopoverAlignment, WithChildrenProp, ReservedDataAttributes, Pick<FocusTrapProps, 'focusOnProps'> {
className?: string;
/**
* Whether the popover is rendered.
*/