import type { Signal } from "@preact/signals"; import { Button } from "../components/Button.tsx"; interface CounterProps { count: Signal; } export default function Counter(props: CounterProps) { return (

{props.count}

); }