UNPKG

@szum-tech/design-system

Version:

Szum-Tech design system with tailwindcss support

24 lines (17 loc) 1.05 kB
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"; } & class_variance_authority_types.ClassProp) => 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.Element; type AlertDescriptionProps = React.ComponentProps<"div">; declare function AlertDescription({ className, ...props }: AlertDescriptionProps): React.JSX.Element; type AlertTitleProps = React.ComponentProps<"div">; declare function AlertTitle({ className, ...props }: AlertTitleProps): React.JSX.Element; export { Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, AlertTitle, type AlertTitleProps, type AlertVariant };