UNPKG

@salvoravida/reapop

Version:

A simple & customizable notifications system for React

10 lines (9 loc) 404 B
/// <reference types="react" /> import { Notification } from '../reducers/notifications/types'; import { TransitionProps } from 'react-transition-group/Transition'; declare type Props = { notification: Notification; duration?: number; } & Omit<TransitionProps<HTMLElement>, 'addEndListener'>; declare const SlideTransition: (props: Props) => JSX.Element; export default SlideTransition;