UNPKG
globalbridge-lsf-custom
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
GlobalBridge in-house labeling tool, originating from LSF.
globalbridge-lsf-custom
/
src
/
components
/
SimpleBadge
/
SimpleBadge.js
9 lines
(7 loc)
•
250 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
React
from
'react'
;
import
styles
from
'./SimpleBadge.module.scss'
;
export
const
SimpleBadge
= (
{
number
, className, ...props }
) => (
<
div
className
=
{[styles.badge,
className
]
.filter
(
Boolean
)
.join
(' ')} {
...props
}>
{number}
</
div
>
);