slanted-gamedev-toolz
Version:
A slanted mix of tools for your brilliant ideas in game design.
20 lines (19 loc) • 573 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { Box } from '@mui/material';
import { genGameTest } from '../util/generateCard';
// Components
import { IdleTimeBoard } from './IdleTimeBoard';
export default {
title: 'IdleTime/IdleTimeBoard',
component: IdleTimeBoard,
};
const Template = (args) => (_jsx(Box, { children: _jsx(IdleTimeBoard, { ...args }) }));
const gameTest = genGameTest();
export const Default = Template.bind({});
Default.args = {
cards: [...gameTest],
};
export const NewGame = Template.bind({});
NewGame.args = {
cards: [],
};