@cloudflare/component-label

Cloudflare Label Component

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@cloudflare/component-label
Minified + gzip package size for @cloudflare/component-label in KB

Readme

@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;

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.