UNPKG

@age/quantum

Version:
20 lines (17 loc) 496 B
import React from 'react'; export interface AlertProps { children: React.ReactNode; onClose: React.MouseEventHandler<HTMLButtonElement>; icon?: string; skin?: 'primary' | 'success' | 'error' | 'neutral' | 'warning'; theme?: { baseFontSize?: number; colors?: object; spacing?: object; components?: { alert?: object; button?: object; }; }; } export default class Alert extends React.Component<AlertProps> {}