UNPKG

@vela-ui/react

Version:

Vela UI React components

57 lines (54 loc) 2.19 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import * as tailwind_variants from 'tailwind-variants'; import { VariantProps } from 'tailwind-variants'; import * as tailwind_merge from 'tailwind-merge'; declare const alertVariants: tailwind_variants.TVReturnType<{ [key: string]: { [key: string]: tailwind_merge.ClassNameValue | { root?: tailwind_merge.ClassNameValue; content?: tailwind_merge.ClassNameValue; title?: tailwind_merge.ClassNameValue; description?: tailwind_merge.ClassNameValue; }; }; } | { [x: string]: { [x: string]: tailwind_merge.ClassNameValue | { root?: tailwind_merge.ClassNameValue; content?: tailwind_merge.ClassNameValue; title?: tailwind_merge.ClassNameValue; description?: tailwind_merge.ClassNameValue; }; }; } | {}, { root: string; content: string; title: string; description: string; }, undefined, { [key: string]: { [key: string]: tailwind_merge.ClassNameValue | { root?: tailwind_merge.ClassNameValue; content?: tailwind_merge.ClassNameValue; title?: tailwind_merge.ClassNameValue; description?: tailwind_merge.ClassNameValue; }; }; } | {}, { root: string; content: string; title: string; description: string; }, tailwind_variants.TVReturnType<unknown, { root: string; content: string; title: string; description: string; }, undefined, unknown, unknown, undefined>>; interface AlertProps extends React.ComponentProps<"div">, VariantProps<typeof alertVariants> { } declare function Alert({ className, ...props }: AlertProps): react_jsx_runtime.JSX.Element; declare function AlertContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element; declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element; declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element; export { Alert, AlertContent, AlertDescription, type AlertProps, AlertTitle };