mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2025-04-18 17:52:22 -06:00
chore: clean storybook
This commit is contained in:
parent
04841ea7bf
commit
530db6fb2b
20
src/lib/components/AsyncButton.stories.tsx
Normal file
20
src/lib/components/AsyncButton.stories.tsx
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
import type { Meta, StoryObj } from "@storybook/react";
|
||||||
|
import AsyncButton from "./AsyncButton";
|
||||||
|
|
||||||
|
const meta = {
|
||||||
|
title: "Components/AsyncButton",
|
||||||
|
component: AsyncButton,
|
||||||
|
} as Meta<typeof AsyncButton>;
|
||||||
|
|
||||||
|
export default meta;
|
||||||
|
|
||||||
|
type Story = StoryObj<typeof AsyncButton>;
|
||||||
|
|
||||||
|
export const Default: Story = {
|
||||||
|
args: {
|
||||||
|
label: "Click Me",
|
||||||
|
onClick: async () => {
|
||||||
|
return new Promise((resolve) => setTimeout(resolve, 2000));
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
13
src/lib/components/SocialLinks.stories.tsx
Normal file
13
src/lib/components/SocialLinks.stories.tsx
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
import type { Meta, StoryObj } from "@storybook/react";
|
||||||
|
import SocialLinks from "./SocialLinks";
|
||||||
|
|
||||||
|
const meta = {
|
||||||
|
title: "Components/SocialLinks",
|
||||||
|
component: SocialLinks,
|
||||||
|
} as Meta<typeof SocialLinks>;
|
||||||
|
|
||||||
|
export default meta;
|
||||||
|
|
||||||
|
type Story = StoryObj<typeof meta>;
|
||||||
|
|
||||||
|
export const Default: Story = {};
|
Loading…
x
Reference in New Issue
Block a user