Fixed type in label
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@dangerousthings/react",
|
"name": "@dangerousthings/react",
|
||||||
"version": "2.0.1",
|
"version": "2.1.0",
|
||||||
"description": "React web components for the Dangerous Things design system",
|
"description": "React web components for the Dangerous Things design system",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": {
|
"author": {
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export function DTLabel({
|
|||||||
}: DTLabelProps) {
|
}: DTLabelProps) {
|
||||||
return (
|
return (
|
||||||
<span
|
<span
|
||||||
className={cx('badge', 'badge-mode', getVariantClass(variant), className)}
|
className={cx('badge', 'p-3', 'badge-mode', getVariantClass(variant), className)}
|
||||||
style={style}>
|
style={style}>
|
||||||
{children}
|
{children}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user