@salvoravida/reapop
Version:
A simple & customizable notifications system for React
11 lines (10 loc) • 400 B
TypeScript
import { SyntheticEvent } from 'react';
import { Notification } from '../reducers/notifications/types';
import { Theme } from '../themes/types';
declare type Props = {
notification: Notification;
theme?: Theme;
dismissNotification: (event: SyntheticEvent) => void;
};
declare const NotificationDismissIcon: (props: Props) => JSX.Element;
export default NotificationDismissIcon;