0.0.4-alpha.3 • Published 2 years ago

@graffft-waggle/circle-badge v0.0.4-alpha.3

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

filename: /packages/molecules/CircleBadge/CircleBadge.tsx

CircleBadge API

The API documentation of the CircleBadge Graffft Waggle component.

Import

import { CircleBadge } from '@graffft-waggle/circle-badge';

Icon

Required Props

NameTypeDescription
childrenJSX.Element\|string\|numberContent that can go inside the circle badge

Optional Props

NameTypeDefaultDescription
sizestring86pxwidth/height of circle badge
bgColorstring'#fff'background color of circle badge.
handleClick() => void() => {}onClick callback.
customScssstring''custom scss for wrapper element

Demos

  • TODO