@adam.biltcliffe/board-state-playground
Version:
browser-based testing tool for the board-state library
14 lines (10 loc) • 347 B
JSX
import React from "react";
import ReactDOM from "react-dom";
import CardPlayGame from "./cardplay";
import PlaygroundApp from "..";
ReactDOM.render(
<>
<PlaygroundApp gameClass={CardPlayGame} initialState={CardPlayGame.getStartState()} filterKeys={['a','b','c']} />
</>,
document.getElementById("react-render-target")
);