react-components-design-system
Version:
React UI component for design system FIS ES PB5
17 lines (16 loc) • 352 B
TypeScript
import React from "react";
import "./Alert.scss";
export declare enum TypeAlert {
error = "error",
warning = "warning",
success = "success",
info = "info"
}
interface AlertProps {
title: string;
subtitle: string;
onClose?: () => void;
type?: TypeAlert;
}
declare const Alert: React.FC<AlertProps>;
export default Alert;