midorimici/fairy-chess-online

View on GitHub
src/components/templates/Games/Games.stories.tsx

Summary

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

import { Games } from '.';
import { games } from 'dummies/games';

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

export default Meta;

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

export const Default = Template.bind({});
Default.args = {
  games,
};