UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

19 lines (18 loc) 922 B
/** * Web DrawerList Portal Component */ import type { ReactNode, Ref, RefObject } from 'react'; export type DrawerListPortalProps = { id: string; children: ReactNode; open: boolean; ref?: Ref<HTMLSpanElement>; rootRef: RefObject<HTMLSpanElement>; includeOwnerWidth?: boolean; independentWidth?: boolean; fixedPosition?: boolean; skipPortal?: boolean; className?: string; }; declare function DrawerListPortal({ ref: refProp, id, open, rootRef, includeOwnerWidth, independentWidth, fixedPosition, skipPortal, className, children, }: DrawerListPortalProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode>> | import("react/jsx-runtime").JSX.Element; export default DrawerListPortal;