UNPKG

@hhgtech/hhg-components

Version:
17 lines (16 loc) 516 B
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 };