You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@cloudflare/component-label

Package Overview
Dependencies
Maintainers
29
Versions
522
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/component-label

Cloudflare Label Component

3.3.61
npmnpm
Version published
Weekly downloads
5.5K
-14.52%
Maintainers
29
Weekly downloads
 
Created
Source

@cloudflare/component-label

Cloudflare Label Component

Installation

Installation with yarn is recommended


$ yarn add @cloudflare/component-label

Usage

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

const LabelComponent = () => (
  <p>
    <Label type="default" mr={2}>
      Default
    </Label>
    <Label type="info" mr={2}>
      Info
    </Label>
    <Label type="success" mr={2}>
      Success
    </Label>
    <Label type="warning" mr={2}>
      Warning
    </Label>
    <Label type="error">Error</Label>
  </p>
);

export default LabelComponent;

FAQs

Package last updated on 29 Mar 2022

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