/** @jsx h */ import { h, IS_BROWSER, useState } from "$fresh/runtime.ts"; import { tw } from "../utils/twind.ts"; import { RoundedButton } from "../components/Button.tsx"; import { IconMinus, IconPlus } from "../components/Icons.tsx"; interface CounterProps { start: number; } export default function Counter(props: CounterProps) { const [count, setCount] = useState(props.start); return (