1.1.0 • Published 3 years ago
react-notify-alert v1.1.0
react-notify-alert
notification for react application
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