1.0.13 • Published 3 years ago

@etsoo/notificationmu v1.0.13

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

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>