0.8.5 • Published 2 months ago

@snack-uikit/status v0.8.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

Status

Installation

npm i @snack-uikit/status

Changelog

Example

import { Status, StatusIndicator } from '@snack-uikit/status';

<Status 
  label="Text after status"
  appearance='pink'
  size='xs'
  hasBackground={true}
/>

<StatusIndicator
  appearance='violet'
  size='l'
/>

Status

Props

nametypedefault valuedescription
label*string-Текст
sizeenum Size: "xs", "s"xsРазмер
appearanceenum Appearance: "primary", "neutral", "red", "orange", "yellow", "green", "blue", "violet", "pink"primaryВнешний вид
hasBackgroundboolean-Наличие фона
classNamestring-CSS-класс

StatusIndicator

Props

nametypedefault valuedescription
sizeenum Size: "xs", "s", "xxs", "m", "l"mРазмер
appearanceenum Appearance: "primary", "neutral", "red", "orange", "yellow", "green", "blue", "violet", "pink"primaryВнешний вид
classNamestring-CSS-класс
0.8.5

3 months ago

0.8.4

3 months ago

0.7.2

8 months ago

0.7.1

9 months ago

0.8.1

7 months ago

0.8.0

8 months ago

0.8.3

5 months ago

0.8.2

5 months ago

0.7.0

10 months ago

0.6.0

10 months ago

0.5.3

11 months ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago