aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/templates/page/loading-page-comments.stories.tsx
blob: 1ebb4bde31dee3b1ead54c56cb8b9f9c71436190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import type { Meta, StoryObj } from '@storybook/react';
import {
  LoadingPageComments,
  type LoadingPageCommentsProps,
} from './loading-page-comments';
import { Page } from './page';

const WrappedLoadingPageComments = (props: LoadingPageCommentsProps) => (
  <Page>
    <LoadingPageComments {...props} />
  </Page>
);

const meta = {
  component: LoadingPageComments,
  title: 'Templates/Page/LoadingPageComments',
  render: WrappedLoadingPageComments,
  parameters: {
    layout: 'fullscreen',
  },
} satisfies Meta<typeof LoadingPageComments>;

export default meta;

type Story = StoryObj<typeof meta>;

export const Default: Story = {
  args: {},
};