Files
klz-cables.com/.pnpm-store/v10/files/34/ecef669b0ac5022a95cbae7a1198d38fde95af81cbb0391eb6832f98aeb1d1ad8a2f7e380ffa94e24b9aa36b3f3ccec3fb87cfc82d6c4ae887266984a30857
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

27 lines
959 B
Plaintext

import { Component } from "react";
import type React from "react";
interface PortalProps {
children: React.ReactNode;
portalId: string;
portalHost?: ShadowRoot;
}
/**
* `Portal` is a React component that allows you to render children into a DOM node
* that exists outside the DOM hierarchy of the parent component.
*
* @class
* @param {PortalProps} props - The properties that define the `Portal` component.
* @property {React.ReactNode} props.children - The children to be rendered into the `Portal`.
* @property {string} props.portalId - The id of the DOM node into which the `Portal` will render.
* @property {ShadowRoot} [props.portalHost] - The DOM node to host the `Portal`.
*/
declare class Portal extends Component<PortalProps> {
constructor(props: PortalProps);
componentDidMount(): void;
componentWillUnmount(): void;
private el;
private portalRoot;
render(): React.ReactPortal;
}
export default Portal;