alinea
Version:
[](https://npmjs.org/package/alinea) [](https://packagephobia.com/result?p=alinea)
9 lines (8 loc) • 356 B
TypeScript
import { PropsWithChildren } from 'react';
export type ModalProps = PropsWithChildren<{
open?: boolean;
onClose: () => void;
className?: string;
}>;
export declare function Modal({ children, ...props }: ModalProps): import("react/jsx-runtime").JSX.Element | null;
export declare function ModalPortal(): import("react/jsx-runtime").JSX.Element;