blob: dddfa182d49f7300cfbd3f53dfa3d1f9895e45c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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',
},
};
|