import { Column, Text, Button, createState } from "redium"; export function Counter() { const count = createState(0); return Column({ gap: 20, children: [ Text(count), Button("+", { onClick: () => count.value++ }) ] }); }