@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
11 lines (10 loc) • 426 B
TypeScript
import React from 'react';
import { PortalProps } from './Portal';
export interface OptionalPortalProps extends PortalProps {
/** Determines whether children should be rendered inside `<Portal />` */
withinPortal?: boolean;
}
export declare function OptionalPortal({ withinPortal, children, ...others }: OptionalPortalProps): React.JSX.Element;
export declare namespace OptionalPortal {
var displayName: string;
}