feat: add tw variants

This commit is contained in:
2025-03-28 15:47:14 +03:00
parent d88f423416
commit 1eeaf31e52
7 changed files with 42 additions and 3 deletions

View File

@@ -1,12 +1,13 @@
import { useSignal } from "@preact/signals";
import "preact/debug";
import classes from "./app.module.scss";
import Button from "./components/ui/Button";
export function App() {
const counter = useSignal(0);
return (
<>
<h1 class={classes.text}>Hello, World!</h1>
<button onClick={() => counter.value++}>Count: {counter.value}</button>
<Button onClick={() => counter.value++}>Count: {counter.value}</Button>
</>
);
}