ds-smart-ui
Version:
Smart UI v1.0.5 — A production-ready React component library by PT Praisindo Teknologi. Covers inputs, navigation, data display, feedback, and layout with a unified design system, semantic Typography tokens, and full Storybook documentation.
22 lines (21 loc) • 834 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/types').ClassProp) | undefined) => string;
export interface AlertProps extends VariantProps<typeof alertStyles> {
icon?: React.ReactNode;
title: string;
description?: string;
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "light" | "dark";
isOpen?: boolean;
onClose?: () => void;
mt?: string | number;
mb?: string | number;
id?: string;
actionText?: string;
onActionClick?: () => void;
actionClassName?: string;
}
declare const Alert: React.FC<AlertProps>;
export default Alert;