@salvoravida/reapop
Version:
A simple & customizable notifications system for React
14 lines (13 loc) • 541 B
TypeScript
/// <reference types="react" />
import { Notification as NotificationType } from '../reducers/notifications/types';
import { ComponentContextType } from '../contexts/componentsContext';
import { Theme } from '..';
import { DismissNotification } from './NotificationsSystem';
declare type Props = {
notification: NotificationType;
dismissNotification: DismissNotification;
components: ComponentContextType;
theme?: Theme;
};
declare const Notification: (props: Props) => JSX.Element;
export default Notification;