mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2026-06-04 00:39:55 -06:00
chore: clean storybook
This commit is contained in:
@@ -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));
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
@@ -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 = {};
|
||||||
Reference in New Issue
Block a user