From 0fe18dca07ab3f92b7db2d6e3a4cb5abe651a9c8 Mon Sep 17 00:00:00 2001 From: narim <0018823nmn@naver.com> Date: Fri, 24 Jan 2025 22:20:51 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F:=20size->variant=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/components/card/new-card/index.tsx | 16 +++++----------- src/common/components/card/new-card/types.ts | 18 +++++++++--------- .../components/price-card/index.tsx | 8 ++++++-- .../components/slide-card/index.tsx | 14 ++++++++++---- 4 files changed, 30 insertions(+), 26 deletions(-) diff --git a/src/common/components/card/new-card/index.tsx b/src/common/components/card/new-card/index.tsx index 43120eb..9f5393b 100644 --- a/src/common/components/card/new-card/index.tsx +++ b/src/common/components/card/new-card/index.tsx @@ -1,39 +1,33 @@ -import { - cardVariants, +import type { MiniCardPT, TbCardHeaderPT, TbCardPT, } from "@/common/components/card/new-card/types" +import { cardVariants } from "@/common/components/card/new-card/types" import { cn } from "@/util/utils" export function TbCard({ className, children, - size, + variant, color, ...rest }: TbCardPT) { return ( -