This package has been deprecated

Author message:

This package has been deprecated. Please find this package under its new name @cloudflare/component-toast.

cf-component-toast

2.0.0 • Public • Published

cf-component-toast

Cloudflare Toast Component

Installation

Installation with yarn is recommended

$ yarn add cf-component-toast

Usage

import React from 'react';
import { Toast } from 'cf-component-toast';

class ToastComponent extends React.Component {
  render() {
    return (
      <div>
        <Toast type="success">Something very successful happened!!!</Toast>
        <Toast type="error">Something failed horribly</Toast>
        <Toast type="info">Please be advised</Toast>
      </div>
    );
  }
}

export default ToastComponent;

/cf-component-toast/

    Package Sidebar

    Install

    npm i cf-component-toast

    Weekly Downloads

    4

    Version

    2.0.0

    License

    BSD-3-Clause

    Unpacked Size

    45 kB

    Total Files

    16

    Last publish

    Collaborators

    • lerwincf
    • lbarthonet
    • cf-media-manager
    • jacobbednarz
    • celso
    • cf-radar
    • dash_service_account
    • g4brym
    • snigdha34
    • wrangler-publisher
    • marksteyn
    • chiminator
    • sgoodhew_cf
    • terinjokes
    • third774
    • jsteinberger
    • jasnell
    • asapzacy
    • pcostanzo
    • gregbrimble
    • geelen
    • rexscaria
    • dcruz_cf
    • xuranwang
    • jculvey
    • sejoker
    • vasturiano
    • cf-ci-write
    • segments-write
    • thibmeu
    • xortive
    • gurjinder
    • cf-ci2
    • lvalenta
    • worenga
    • miksu