UNPKG

slanted-gamedev-toolz

Version:

A slanted mix of tools for your brilliant ideas in game design.

19 lines (18 loc) 569 B
import { jsx as _jsx } from "react/jsx-runtime"; import { genGameTest, genVillage } from "../util/generateCard"; // Components import { IdleHistoryBoard } from "./IdleHistoryBoard"; export default { title: "IdleTime/IdleHistoryBoard", component: IdleHistoryBoard, }; const Template = (args) => (_jsx("div", { children: _jsx(IdleHistoryBoard, { ...args }) })); const gameTest = genGameTest(); export const NewGame = Template.bind({}); NewGame.args = { cards: [], }; export const Village = Template.bind({}); Village.args = { cards: [...genVillage()], };