Skip to content

Commit bdd8c3d

Browse files
committed
chore: Playground에 Card 컴포넌트 예시 추가
1 parent 4f8e8ed commit bdd8c3d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/pages/playground.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Button } from '@shared/ui/Button/Button';
2+
import { Card } from '@shared/ui/Card/Card';
23
import { Checkbox } from '@shared/ui/Checkbox/Checkbox';
34
import { RadioButton } from '@shared/ui/RadioButton/RadioButton';
45

@@ -49,6 +50,16 @@ export default function Playground() {
4950
<RadioButton checked disabled label="Selected + Disabled" />
5051
</div>
5152
</section>
53+
<section className="flex flex-col gap-4">
54+
<h2 className="typo-body-1">Card</h2>
55+
56+
<Card
57+
imageSrc="/iphone11.png"
58+
titleText="Title 인데 제목이 정말 길 경우에는 두줄 까지만 보이고, 뒤엔 점 처리"
59+
priceText="0,000원"
60+
dateText="1일 전"
61+
/>
62+
</section>
5263
</div>
5364
);
5465
}

0 commit comments

Comments
 (0)