@hhgtech/hhg-components
Version:
Hello Health Group common components
17 lines (16 loc) • 516 B
TypeScript
import React, { CSSProperties } from 'react';
export type Props = {
type: 'success' | 'danger' | 'warning' | 'info';
contentIcon: JSX.Element;
closeIcon: JSX.Element;
text: string;
description?: string;
className?: string;
style?: CSSProperties;
onClose?: () => void;
};
/**
* @deprecated Consider to use Mantine
*/
declare const Alert: ({ style, onClose, text, type, contentIcon, closeIcon, className, description, }: Props) => React.JSX.Element;
export { Alert };