chore: add stories for UserAvatar (#12376)

This commit is contained in:
Kayla Washburn-Love
2024-03-01 10:50:17 -07:00
committed by GitHub
parent 7824bee25f
commit 4f0b885c30
@@ -0,0 +1,24 @@
import type { Meta, StoryObj } from "@storybook/react";
import { UserAvatar } from "./UserAvatar";
const meta: Meta<typeof UserAvatar> = {
title: "components/UserAvatar",
component: UserAvatar,
};
export default meta;
type Story = StoryObj<typeof UserAvatar>;
export const Jon: Story = {
args: {
username: "sreya",
avatarURL: "https://github.com/sreya.png",
},
};
export const Jonjon: Story = {
args: {
username: "ジョンジョン",
avatarURL: "https://github.com/sreya.png",
},
};