@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
15 lines (14 loc) • 490 B
TypeScript
import { Factory } from '../../core';
import { PortalProps } from './Portal';
export interface OptionalPortalProps extends PortalProps {
/** Determines whether children should be rendered inside `<Portal />` */
withinPortal?: boolean;
}
export type OptionalPortalFactory = Factory<{
props: OptionalPortalProps;
ref: HTMLDivElement;
}>;
export declare const OptionalPortal: import("../../core").MantineComponent<{
props: OptionalPortalProps;
ref: HTMLDivElement;
}>;