README
Badge React Component
Install
npm install --save @idui/react-badge
yarn add @idui/react-badge
Docs
See props inBasic Example
import React from 'react'
import Badge from '@idui/react-badge'
function Example() {
return <BadgeWrapper>
<Badge
color="orangered"
size="1.5rem"
/>
</BadgeWrapper>
}
const BadgeWrapper = styled.div`
position: relative;
width: 4rem;
height: 4rem;
border-radius: 50%;
background-color: skyblue;
`;
storybook
See more details inLicense
MIT © kaprisa57@gmail.com