npm.io
0.7.3 • Published 7 years ago

@kata-kit/badge

Licence
Apache-2.0
Version
0.7.3
Deps
2
Size
54 kB
Vulns
0
Weekly
0
Stars
192
DeprecatedThis package is deprecated

@wicara/badge

Badge component for Wicara.

Install

# yarn
yarn add @kata-kit/badge
# npm
npm install @kata-kit/badge

Usage

To use this component within your React app, import as follows:

import { Badge } from '@kata-kit/badge';

const Component = () => <Badge color="default" message="text" />;

See more usage in the JSX panel

Props

Property Type Required Default
color 'primary', 'secondary', 'success', 'warning', 'danger' - -
className string - undefined
style React.CSSProperties - undefined