react-notifications-component-updated
Version:
React component for creating notifications on the fly
17 lines (16 loc) • 575 B
TypeScript
import { iNotification, iNotificationStoreParams, iStore } from '../../src/typings';
declare class Store implements iStore {
constructor();
removeNotification: (id: string) => void;
removeAllNotifications: () => void;
private types;
private add;
private defaultNotificationWidth;
private counter;
private incrementCounter;
addNotification(notification: iNotification): string;
getCounter: () => number;
register(parameters: iNotificationStoreParams): void;
}
declare const _default: Store;
export default _default;