midorimici/fairy-chess-online

View on GitHub
src/components/atoms/GameListItem/GameListItem.stories.tsx

Summary

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

import { GameListItem } from '.';
import { game } from 'dummies/game';

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

export default Meta;

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

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