UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

34 lines (33 loc) 1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PortalRootProperties = void 0; const PortalRootProperties = exports.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