ds-smart-ui
Version:
Smart UI is a React component library that helps you build accessible and responsive web applications.
19 lines (17 loc) • 662 B
TypeScript
import { VariantProps } from 'class-variance-authority';
import { default as React } from 'react';
declare const alertStyles: (props?: ({
color?: "dark" | "light" | "primary" | "secondary" | "success" | "danger" | "warning" | null | undefined;
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
export interface AlertProps extends VariantProps<typeof alertStyles> {
icon?: React.ReactNode;
title: string;
description?: string;
isOpen?: boolean;
onClose?: () => void;
mt?: string | number;
mb?: string | number;
id?: string;
}
declare const Alert: React.FC<AlertProps>;
export default Alert;