midorimici/fairy-chess-online

View on GitHub
src/components/molecules/Container/Container.stories.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import type { ComponentStory, ComponentMeta } from '@storybook/react';

import { Container } from '.';

const Meta: ComponentMeta<typeof Container> = {
  title: 'Molecules/Container',
  component: Container,
};

export default Meta;

const Template: ComponentStory<typeof Container> = (args) => <Container {...args} />;

export const Default = Template.bind({});
Default.args = {
  children: <p>Main contents</p>,
};