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;
     

    Keywords

    none

    Install

    npm i cf-component-toast

    DownloadsWeekly Downloads

    10

    Version

    2.0.0

    License

    BSD-3-Clause

    Unpacked Size

    45 kB

    Total Files

    16

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar