diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3049cf1..c9a097b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -63,6 +63,9 @@ importers: autoprefixer: specifier: ^10.4.24 version: 10.4.24(postcss@8.5.6) + baseline-browser-mapping: + specifier: ^2.10.0 + version: 2.10.0 eslint: specifier: ^9.39.2 version: 9.39.2(jiti@2.6.1) diff --git a/src/shared/ui/avatars/avatars.stories.tsx b/src/shared/ui/avatars/avatars.stories.tsx new file mode 100644 index 0000000..0059f94 --- /dev/null +++ b/src/shared/ui/avatars/avatars.stories.tsx @@ -0,0 +1,107 @@ +import React from "react"; +import type { Meta, StoryObj } from "@storybook/react-vite"; +import { Avatar, AvatarGroup, type AvatarProps } from "./avatars"; + +const meta = { + title: "Shared/UI/Avatars", + parameters: { + layout: "padded", + componentSubtitle: "유저 프로필 및 다중 유저를 표시하는 아바타 컴포넌트", + }, + tags: ["autodocs"], +} satisfies Meta; + +export default meta; + +// ========================================== +// Avatar Stories +// ========================================== +export const AvatarSizes: StoryObj = { + render: () => ( +
{displayDescription}
} +