1.1.0 • Published 3 years ago

react-notify-alert v1.1.0

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

react-notify-alert

notification for react application

NPM JavaScript Style Guide

Install

npm install --save react-notify-alert

Usage

import React, { Component } from 'react'

import { ReactNotifyAlert } from 'react-notify-alert'
import 'react-notify-alert/dist/index.css'
    <ReactNotifyAlert      
        isOpen={true}
        id="NotifyAlert"
        type={"confirm" || "fail" || "success"}
        title="Sure ?"
        mainClassName="alert-main"
        titleClassName={null}
        infoText="Are you sure to remove this card ?"
        infoClassName={null}
        titleImage={null}
        requestAllowBtnText={null}
        requestAllowBtnClassName={null}
        requestCancelBtnText={null}
        requestCancelBtnClassName={null}
        onActionHandle={(e) => this.onActionHandle(e) }
      />

License

MIT © cshaper72@gmail.com

1.1.0

3 years ago

1.0.7

4 years ago

1.0.5

4 years ago

1.0.6

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago