Fixed type in label

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

View File

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

View File

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