UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

19 lines (18 loc) 893 B
/** * Web DrawerList Portal Component */ import React from 'react'; export type DrawerListPortalProps = { id: string; children: React.ReactNode; open: boolean; ref?: React.Ref<HTMLSpanElement>; rootRef: React.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<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode>> | import("react/jsx-runtime").JSX.Element; export default DrawerListPortal;