@salvoravida/reapop
Version:
A simple & customizable notifications system for React
11 lines (10 loc) • 512 B
TypeScript
/// <reference types="react" />
import { Notification as NotificationType } from '../reducers/notifications/types';
import { DismissNotification } from './NotificationsSystem';
import { TransitionProps } from 'react-transition-group/Transition';
declare type Props = {
notification: NotificationType;
dismissNotification: DismissNotification;
} & Omit<TransitionProps, 'addEndListener'>;
declare const NotificationContainer: (props: Props) => JSX.Element;
export default NotificationContainer;