@etsoo/notificationui
TypeScript icon, indicating that this package has built-in type declarations

1.0.33 • Public • Published

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>

/@etsoo/notificationui/

    Package Sidebar

    Install

    npm i @etsoo/notificationui

    Weekly Downloads

    0

    Version

    1.0.33

    License

    MIT

    Unpacked Size

    17 kB

    Total Files

    21

    Last publish

    Collaborators

    • garryxiao