Socket
Book a DemoInstallSign in
Socket

volkeno-alertify

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

volkeno-alertify

ReactJS, awesome notification toast

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

Volkeno-Alertify

ReactJS, awesome notification toast

NPM JavaScript Style Guide

Install

npm install --save volkeno-alertify

Usage

import React, { Component } from 'react'

import { VolkenoAlertify } from 'volkeno-alertify'
import 'volkeno-alertify/dist/index.css'

class Example extends Component {
  render() {
    return <VolkenoAlertify
              title="My Title"
              text="My Text"
              duration={5000}
              alertState="success"
              position="left-top"
            />
  }
}

Configuration - Props

PropertyTypeRequireDefaultDescription
alertStatestringtruesucessToast alert state (success, danger, warning, info)
titlestringtrue...Toast alert title
textstringtrue...Toast alert textual message
durationintegerfalse5000Toast alert duration time
positionstringtruecenterToast UI position on the page (center, bottom-right, bottom-left, top-left, top-right)

License

MIT © VolkenoMakers

Keywords

reactjs

FAQs

Package last updated on 01 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts