Fixed type in label

This commit is contained in:
michael
2026-05-05 14:14:59 -07:00
parent 77c6a5a3bf
commit 8809b8676b
2 changed files with 3 additions and 3 deletions

View File

@@ -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": {

View File

@@ -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>