UNPKG

slanted-gamedev-toolz

Version:

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

19 lines (18 loc) 525 B
import { jsxs as _jsxs } from "react/jsx-runtime"; export const GameCard = ({ children, count = 4 }) => { return (_jsxs("div", { style: cardPaper, children: [children, " GG count: ", count] })); }; const cardPaper = { border: "1px solid #4B4453", borderRadius: "9px", display: "flex", flexWrap: "wrap", flexDirection: "row", justifyContent: "center", alignItems: "stretch", alignContent: "stretch", padding: 9, minHeight: 200, minWidth: 200, backgroundColor: "#D5CABD", };