@salvoravida/reapop
Version:
A simple & customizable notifications system for React
12 lines (11 loc) • 412 B
TypeScript
/// <reference types="react" />
import { Notification, NotificationButton as ButtonType } from '../reducers/notifications/types';
import { Theme } from '../themes/types';
declare type Props = {
button: ButtonType;
position: number;
notification: Notification;
theme?: Theme;
};
export declare const NotificationButton: (props: Props) => JSX.Element;
export default NotificationButton;