slanted-gamedev-toolz
Version:
A slanted mix of tools for your brilliant ideas in game design.
14 lines (13 loc) • 804 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
import { textOutline } from "../GameCard/GameCardSx";
import { numberWithCommas } from "../../util/numberWithComma";
export const HandResults = ({ handResults, isHandInPlay }) => {
return (_jsx(_Fragment, { children: isHandInPlay ? (_jsx("div", { children: _jsxs("h1", { children: [_jsx("span", { style: {
...textOutline.white,
color: "green",
}, children: numberWithCommas(handResults) }), _jsx("span", { style: {
...textOutline.black,
color: "green",
fontSize: "0.8em",
}, children: " Cats Join!" })] }) })) : null }));
};