@szum-tech/design-system
Version:
Szum-Tech design system with tailwindcss support
25 lines (18 loc) • 1.17 kB
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import * as React from 'react';
import { VariantProps } from 'class-variance-authority';
import * as class_variance_authority_types from 'class-variance-authority/types';
declare const alertVariants: (props?: ({
variant?: "default" | "destructive" | null | undefined;
} & class_variance_authority_types.ClassProp) | undefined) => string;
type AlertVariantsProps = VariantProps<typeof alertVariants>;
type AlertVariant = NonNullable<AlertVariantsProps["variant"]>;
type AlertProps = React.ComponentProps<"div"> & {
variant?: AlertVariant;
};
declare function Alert({ className, variant, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
type AlertDescriptionProps = React.ComponentProps<"div">;
declare function AlertDescription({ className, ...props }: AlertDescriptionProps): react_jsx_runtime.JSX.Element;
type AlertTitleProps = React.ComponentProps<"div">;
declare function AlertTitle({ className, ...props }: AlertTitleProps): react_jsx_runtime.JSX.Element;
export { Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, AlertTitle, type AlertTitleProps, type AlertVariant };