UNPKG

react-code-canvas

Version:

React component for running and previewing React code with live editing capabilities

10 lines (9 loc) 681 B
import * as React from "react"; import { type VariantProps } from "class-variance-authority"; declare const alertVariants: (props?: ({ variant?: "default" | "destructive" | null | undefined; } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): React.JSX.Element; declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element; declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element; export { Alert, AlertTitle, AlertDescription };