From b7d93ff348ff9a8acc6ca164f477d0a0c4b011f4 Mon Sep 17 00:00:00 2001 From: bae-sh Date: Mon, 18 Nov 2024 22:12:29 +0900 Subject: [PATCH] test(skeleton): add a text skeleton component storybook --- packages/skeleton/src/Skeleton.stories.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/packages/skeleton/src/Skeleton.stories.tsx b/packages/skeleton/src/Skeleton.stories.tsx index e41bc9d..9e44f0a 100644 --- a/packages/skeleton/src/Skeleton.stories.tsx +++ b/packages/skeleton/src/Skeleton.stories.tsx @@ -66,3 +66,19 @@ export const SkeletonWithChildren: Story = { variant: 'rectangular', }, }; + +export const SkeletonWithText: Story = { + args: { + loading: true, + asChild: true, + children: ( + + Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis enim + labore quibusdam in officia id veniam assumenda ut, accusamus, officiis + consectetur minima dolorum facere minus, corrupti corporis. Esse, dolor + magni? + + ), + variant: 'rectangular', + }, +};