bknd
Version:
Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.
15 lines (14 loc) • 469 B
TypeScript
import type { ComponentPropsWithoutRef, ReactNode } from "react";
export type AlertProps = ComponentPropsWithoutRef<"div"> & {
className?: string;
visible?: boolean;
title?: string;
message?: ReactNode | string;
children?: ReactNode;
};
export declare const Alert: {
Warning: import("react").FC<AlertProps>;
Exception: import("react").FC<AlertProps>;
Success: import("react").FC<AlertProps>;
Info: import("react").FC<AlertProps>;
};