bknd
Version:
Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.
13 lines (12 loc) • 426 B
TypeScript
import { type ReactElement } from "react";
export type ModalProps = {
open?: boolean;
stickToTop?: boolean;
className?: string;
onClose?: () => void;
allowBackdropClose?: boolean;
children: ReactElement<{
onClick: () => void;
}>;
};
export declare function Modal({ open, children, onClose, allowBackdropClose, className, stickToTop, }: ModalProps): import("react/jsx-runtime").JSX.Element;