ReactJS, awesome notification toast
npm install volkeno-alertify> ReactJS, awesome notification toast
 
``bash`
npm install --save volkeno-alertify
`tsx
import React, { Component } from 'react'
import { VolkenoAlertify } from 'volkeno-alertify'
import 'volkeno-alertify/dist/index.css'
class Example extends Component {
render() {
return
text="My Text"
duration={5000}
alertState="success"
position="left-top"
/>
}
}
``
| Property | Type | Require | Default | Description |
| ------------------------ | :------: | :-----: | :-------:| :------------------------------------------------------------------------------ |
| alertState | string | true | sucess | Toast alert state (success, danger, warning, info) |
| title | string | true | ... | Toast alert title |
| text | string | true | ... | Toast alert textual message |
| duration | integer | false | 5000 | Toast alert duration time |
| position | string | true | center | Toast UI position on the page (center, bottom-right, bottom-left, top-left, top-right) |
MIT © VolkenoMakers