@etsoo/notificationmu
v1.0.13
Published
TypeScript React + Material-UI template project working with SmartERP APIs
Downloads
16
Maintainers
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>