1.0.0-16 • Published 6 years ago

@react-spectre/toast v1.0.0-16

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

@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:

  1. primary
<Toast primary>This is a primary toast</Toast>
  1. success
<Toast success>This is a success toast</Toast>
  1. warning
<Toast warning>This is a success toast</Toast>
  1. error
<Toast error>This is a success toast</Toast>

Made with :heart: by Rubens Mariuzzo.

MIT License