UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com's products.

30 lines 1.27 kB
import * as React from "react"; import type * as Common from "../../common/types"; import type { Offset } from "../types"; import { type Placement } from "../../common/placements"; export interface Props extends Common.Globals { children: React.ReactNode; referenceElement: HTMLElement | null; placement: Placement; width?: string; zIndex?: number; maxHeight?: string; noFlip?: boolean; allowOverflow?: boolean; noPadding?: boolean; overlapped?: boolean; shown: boolean; fixed?: boolean; labelClose?: React.ReactNode; lockScrolling?: boolean; actions?: React.ReactNode; offset?: Offset; onClose: (ev?: MouseEvent | React.SyntheticEvent<HTMLElement>) => void; ariaLabel?: string; ariaLabelledby?: string; role?: "dialog" | "menu" | "grid" | "listbox" | "tree"; overlayId?: string; } declare const PopoverContentWrapper: ({ children, onClose, zIndex, labelClose, width, maxHeight, noFlip, offset: offsetProp, referenceElement, dataTest, id, placement, noPadding, overlapped, shown, fixed, allowOverflow, lockScrolling, actions, ariaLabelledby, ariaLabel, role, overlayId, }: Props) => React.JSX.Element; export default PopoverContentWrapper; //# sourceMappingURL=ContentWrapper.d.ts.map