@react-spectre/toast
v1.0.0-16
Published
React components for Spectre.css's toast.
Downloads
4
Readme
@react-spectre/toast
React components for Spectre.css's toast
Installation
yarn add @react-spectre/toast
npm install @react-spectre/toast --save
Usage
import { Toast } from '@react-spectre/toast'
Variants
There are multiples avialable variants that can be passed as props:
- primary
<Toast primary>This is a primary toast</Toast>
- success
<Toast success>This is a success toast</Toast>
- warning
<Toast warning>This is a success toast</Toast>
- error
<Toast error>This is a success toast</Toast>
Made with :heart: by Rubens Mariuzzo.