@arnat/styled-badge
TypeScript icon, indicating that this package has built-in type declarations

0.0.12 • Public • Published

styled-badge-component

npm Travis branch Codecov branch storybook lerna

Modular approach to use bootstrap components for quick prototypes, as an entrypoint of the component library.

Usage

import { Badge } from '@arnat/styled-badge';

const MyBadgeComponent = props => (
  <Badge primary pill>
    Hello
  </Badge>
);

Import components from @arnat/styled-bootstrap if you have it installed.

Properties

Properties which can be added to the component to change the visual appearance.

  • noRadius Type: boolean
  • pill Type: boolean
  • primary Type: boolean
  • secondary Type: boolean
  • success Type: boolean
  • danger Type: boolean
  • warning Type: boolean
  • info Type: boolean
  • light Type: boolean
  • dark Type: boolean

Package Sidebar

Install

npm i @arnat/styled-badge

Weekly Downloads

2

Version

0.0.12

License

MIT

Unpacked Size

21.8 kB

Total Files

13

Last publish

Collaborators

  • arnat.technologies
  • rsurjano