2.0.1 • Published 9 years ago
zooid-toast v2.0.1
zooid-toast
Install
npm install --save zooid-toastProps
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | Additional css classes to merge into the component | |
| message | string | Message to show. Should be concise. | |
| timeout | number | 4000 | timeout in milliseconds |
Example
import Toast from 'zooid-toast'
<Toast message="Device Updated!" />
<Toast message="Device Updated!" timeout="7777" />
<Toast message="Device Updated!" timeout="7777" className="AwesomeClass" />