Status

Status UI Component

Installation

npm i @synerise/ds-status
or
yarn add @synerise/ds-status

Usage

import Status from '@synerise/ds-status'
<Status type="primary" label="This is a status" />

Demo

API

PropertyDescriptionTypeDefault
typetype of statusprimary / success / warning / danger / disabled / defaultprimary
labeltext inside the statusstring-
classNamewrapper class namestring-
onClickonClick event() => void-
colortype of colorstringgrey