import React from "react"; export interface PortalProps { wrapperId?: string; children: React.ReactNode; } /** * Renders the children components inside a portal wrapper element. * * @param {string} wrapperId - The id of the wrapper element where the children will be rendered. * @param {ReactNode} children - The components to be rendered inside the portal. * @returns {ReactPortal | null} The portal containing the children components, or null if the wrapper element is not found. */ export default function Portal({ wrapperId, children, }: PortalProps): React.ReactPortal | null;