0.8.5 • Published 1 month ago

@snack-uikit/status v0.8.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 month 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

2 months ago

0.8.4

2 months ago

0.7.2

7 months ago

0.7.1

8 months ago

0.8.1

6 months ago

0.8.0

7 months ago

0.8.3

4 months ago

0.8.2

4 months ago

0.7.0

9 months ago

0.6.0

9 months ago

0.5.3

10 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