UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

28 lines 904 B
export const PortalRootProperties = { innerRef: { doc: 'The ref of the element that will be used.', type: ['React.Ref<HTMLElement>', 'React.MutableRefObject<HTMLElement>'], status: 'optional' }, id: { doc: 'The id attribute for the portal root element.', type: 'string', status: 'optional' }, insideSelector: { doc: 'CSS selector for a container to place the portal root inside. The portal element is inserted as the first child of the matched element.', type: 'string', status: 'optional' }, beforeSelector: { doc: 'CSS selector for a target element; the portal root will be inserted directly before the first matched element.', type: 'string', status: 'optional' }, children: { doc: 'The content that will be placed in a React Portal.', type: 'ReactNode', status: 'required' } }; //# sourceMappingURL=PortalRootDocs.js.map