diff options
Diffstat (limited to 'src/components/molecules/buttons/back-to-top/back-to-top.stories.ts')
| -rw-r--r-- | src/components/molecules/buttons/back-to-top/back-to-top.stories.ts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/molecules/buttons/back-to-top/back-to-top.stories.ts b/src/components/molecules/buttons/back-to-top/back-to-top.stories.ts new file mode 100644 index 0000000..dddfa18 --- /dev/null +++ b/src/components/molecules/buttons/back-to-top/back-to-top.stories.ts @@ -0,0 +1,18 @@ +import type { Meta, StoryObj } from '@storybook/react'; +import { BackToTop } from './back-to-top'; + +const meta = { + component: BackToTop, + title: 'Molecules/Buttons/BackToTop', +} satisfies Meta<typeof BackToTop>; + +export default meta; + +type Story = StoryObj<typeof meta>; + +export const Example: Story = { + args: { + anchor: '#top', + label: 'Back to top', + }, +}; |
