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