@baseplate-dev/ui-components
Version:
Shared UI component library
15 lines • 837 B
TypeScript
import type { VariantProps } from 'class-variance-authority';
import type * as React from 'react';
declare const alertVariants: (props?: ({
variant?: "default" | "error" | "success" | "warning" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
/**
* Displays a callout for user attention.
*
* https://ui.shadcn.com/docs/components/alert
*/
declare function Alert({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): React.ReactElement;
declare function AlertTitle({ className, ...props }: React.ComponentProps<'div'>): React.ReactElement;
declare function AlertDescription({ className, ...props }: React.ComponentProps<'div'>): React.ReactElement;
export { Alert, AlertDescription, AlertTitle };
//# sourceMappingURL=alert.d.ts.map