@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
12 lines (11 loc) • 395 B
TypeScript
import { RefObject } from "react";
//#region src/portal/portal.types.d.ts
type PortalProps = {
/** Ref of a custom container that will be used instead of document.body. */
containerRef?: RefObject<HTMLElement | null>;
/** Content will be rendered as usual, without portaling. */
disablePortal?: boolean;
};
//#endregion
export { PortalProps };
//# sourceMappingURL=portal.types.d.ts.map