@etsoo/notificationui
v1.0.33
Published
TypeScript notification component for extending with all features described and partially implemented
Downloads
40
Readme
NotificationUI
TypeScript abstract notification component of React, implemented from https://github.com/ETSOO/NotificationBase. Applied Material-UI version: https://github.com/ETSOO/NotificationMU
Installing
Using npm:
$ npm install @etsoo/notificationui
Using yarn:
$ yarn add @etsoo/notificationui
NotificationDisplay
Notification display component of React version. Properties:
/**
* Notification Display properties
*/
export interface NotificationDisplayProps {
/**
* Style class name
*/
className?: string;
/**
* Create notification container
* @param align Align
* @param children Children
*/
createContainer(
align: NotificationAlign,
children: React.ReactNode[]
): React.ReactNode;
/**
* Each notification style class name
*/
itemClassName?: string;
}
NotificationReact
Abstract implement of ReactNode UI.
abstract class NotificationReact extends Notification<React.ReactNode>