@react-spectre/toast

1.0.0-16 • Public • Published

@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 ❤️ by Rubens Mariuzzo.

MIT License

Dependents (1)

Package Sidebar

Install

npm i @react-spectre/toast

Weekly Downloads

0

Version

1.0.0-16

License

MIT

Last publish

Collaborators

  • rmariuzzo