import { component$, useSignal, $ } from "@builder.io/qwik"; import styles from "./counter.module.css"; import Gauge from "../gauge"; export default component$(() => { const count = useSignal(70); const setCount = $((newValue: number) => { if (newValue < 0 || newValue > 100) { return; } count.value = newValue; }); return (
); });