zooid-alert
v1.0.2
Published
Alert
Downloads
4
Readme
zooid-alert
Install
npm install --save zooid-alert
Props
| Prop | Type | Default | Description | | ------------| --------| --------| -------------------------------------| | children | node | | Alert message. | | className | string | | Additional CSS classes to merge into the component | | dismissible | boolean | false | Add a close button when truthy | | type | enum | info | Type of alert. Options: info, warning, error, success |
Example
import Alert from 'zooid-alert'