@vela-ui/react
Version:
Vela UI React components
56 lines (53 loc) • 2.13 kB
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import * as tailwind_variants from 'tailwind-variants';
import { VariantProps } from 'tailwind-variants';
declare const alertVariants: tailwind_variants.TVReturnType<{
[key: string]: {
[key: string]: tailwind_variants.ClassValue | {
root?: tailwind_variants.ClassValue;
content?: tailwind_variants.ClassValue;
title?: tailwind_variants.ClassValue;
description?: tailwind_variants.ClassValue;
};
};
} | {
[x: string]: {
[x: string]: tailwind_variants.ClassValue | {
root?: tailwind_variants.ClassValue;
content?: tailwind_variants.ClassValue;
title?: tailwind_variants.ClassValue;
description?: tailwind_variants.ClassValue;
};
};
} | {}, {
root: string;
content: string;
title: string;
description: string;
}, undefined, {
[key: string]: {
[key: string]: tailwind_variants.ClassValue | {
root?: tailwind_variants.ClassValue;
content?: tailwind_variants.ClassValue;
title?: tailwind_variants.ClassValue;
description?: tailwind_variants.ClassValue;
};
};
} | {}, {
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 };