@arnat/styled-badge
v0.0.12
Published
The bootstrap badge component created with styled-components
Downloads
22
Readme
styled-badge-component
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: booleanpill
Type: booleanprimary
Type: booleansecondary
Type: booleansuccess
Type: booleandanger
Type: booleanwarning
Type: booleaninfo
Type: booleanlight
Type: booleandark
Type: boolean