aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2023-02-19 12:03:19 +0100
committerMartin Kagamino Lehoux <martin@lehoux.net>2023-02-19 12:03:19 +0100
commitf9df37ce9fd0eca4e7160f673c932a7552e07174 (patch)
tree02dfcac90d3c5dce29d2b96d815e4a2a3ef66743 /components
parent18f7a28a7ee6e6c8a04233feac037bbf9c91b0a5 (diff)
chore: Remove useless
Diffstat (limited to 'components')
-rw-r--r--components/Button.tsx12
1 files changed, 0 insertions, 12 deletions
diff --git a/components/Button.tsx b/components/Button.tsx
deleted file mode 100644
index 909d380..0000000
--- a/components/Button.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-import { JSX } from "preact";
-import { IS_BROWSER } from "$fresh/runtime.ts";
-
-export function Button(props: JSX.HTMLAttributes<HTMLButtonElement>) {
- return (
- <button
- {...props}
- disabled={!IS_BROWSER || props.disabled}
- class="px-2 py-1 border(gray-100 2) hover:bg-gray-200"
- />
- );
-}