Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cloudflare/component-toast

Package Overview
Dependencies
Maintainers
35
Versions
510
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/component-toast

Cloudflare Toast Component

  • 5.1.6
  • latest
  • npm
  • Socket score

Version published
Maintainers
35
Created
Source

@cloudflare/component-toast

Cloudflare Toast Component

Installation

Installation with yarn is recommended


$ yarn add @cloudflare/component-toast

Usage

import React from 'react';
import { Toast } from '../../src';

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

export default ToastComponent;

FAQs

Package last updated on 23 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc