@lendi-ui/status-badge
TypeScript icon, indicating that this package has built-in type declarations

3.1.16 • Public • Published

@lendi-ui/status-badge

A status-badge component.

Installation

yarn add @lendi-ui/status-badge

Usage

import StatusBadge from '@lendi-ui/status-badge';

<StatusBadge variant="error">Error</StatusBadge>;

## Properties

<PropTable>
  <PropTable.Entry name='hasIcon' type='boolean' defaultValue={true} description='Badge icon. This is the corresponding icon to the variant used'/>
  <PropTable.Entry name='size' type="'sm' | 'lg'" defaultValue='sm' description='Size of the badge'/>
  <PropTable.Entry name='statusText' type='string' description='The text inside the badge'/>
  <PropTable.Entry name='variant' required type="'error' | 'info' | 'success' | 'warn'" description='Badge type'/>
</PropTable>

Readme

Keywords

none

Package Sidebar

Install

npm i @lendi-ui/status-badge

Weekly Downloads

75

Version

3.1.16

License

ISC

Unpacked Size

23.8 kB

Total Files

9

Last publish

Collaborators

  • joshua-derbe-lendi
  • michaelhuttonlendi
  • simon_lau_lendi
  • benjamintan
  • oliverfrance
  • kjartan.johansen
  • dapovey
  • nooshines
  • fernandogontijo_
  • sean-elliott-lendi
  • nghiato
  • sunny.niu
  • mfarshadmehr
  • jannes.mingram.lendi
  • antoine_lendi
  • bchiong
  • lendi-owner
  • andrealin
  • malkyfaith
  • brianduan
  • yihan_lu_lendi
  • nodemacross
  • samnevers
  • boris.gordon
  • leo.wei
  • bharadwajsampath
  • luissilvalendi
  • thomaslendi
  • dimitrioslendi
  • le-kang-lendi
  • yupeili