soda-material
Version:
A React(>=18) component library that may follow [Material Design 3](https://m3.material.io/components) (a.k.a. Material You)
12 lines (11 loc) • 381 B
TypeScript
/// <reference types="react" />
/**
* Based on HTMLDialogElement, this can be a replacement for `<ModalHolder>`
*/
export declare function DialogHolder({ teleportTo, open, ...props }: React.HTMLProps<HTMLDialogElement> & {
/**
* @default document.body
*/
teleportTo?: Element | DocumentFragment;
open?: boolean;
}): import("react/jsx-runtime").JSX.Element;