summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/card.tsx
diff options
context:
space:
mode:
authorShoubhit Dash <[email protected]>2026-04-16 17:30:14 +0530
committerShoubhit Dash <[email protected]>2026-04-16 17:30:14 +0530
commit2e18a603f0ea24154908e748493fd4bfaa74fc00 (patch)
treeb723e00af2821b213573b16fa199b64babd5f1f5 /packages/ui/src/components/card.tsx
parent9819eb04614fd607cacb07d754052f1531a82331 (diff)
parent7341718f9234b0cf3a8758c87e91d2006b71bff6 (diff)
downloadopencode-2e18a603f0ea24154908e748493fd4bfaa74fc00.tar.gz
opencode-2e18a603f0ea24154908e748493fd4bfaa74fc00.zip
merge dev
Diffstat (limited to 'packages/ui/src/components/card.tsx')
-rw-r--r--packages/ui/src/components/card.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/ui/src/components/card.tsx b/packages/ui/src/components/card.tsx
index 7a1bd5e45..320aba718 100644
--- a/packages/ui/src/components/card.tsx
+++ b/packages/ui/src/components/card.tsx
@@ -53,7 +53,7 @@ export function Card(props: CardProps) {
data-variant={variant()}
style={mix(split.style, accent())}
classList={{
- ...(split.classList ?? {}),
+ ...split.classList,
[split.class ?? ""]: !!split.class,
}}
>
@@ -76,7 +76,7 @@ export function CardTitle(props: CardTitleProps) {
{...rest}
data-slot="card-title"
classList={{
- ...(split.classList ?? {}),
+ ...split.classList,
[split.class ?? ""]: !!split.class,
}}
>
@@ -97,7 +97,7 @@ export function CardDescription(props: ComponentProps<"div">) {
{...rest}
data-slot="card-description"
classList={{
- ...(split.classList ?? {}),
+ ...split.classList,
[split.class ?? ""]: !!split.class,
}}
>
@@ -113,7 +113,7 @@ export function CardActions(props: ComponentProps<"div">) {
{...rest}
data-slot="card-actions"
classList={{
- ...(split.classList ?? {}),
+ ...split.classList,
[split.class ?? ""]: !!split.class,
}}
>