aboutsummaryrefslogtreecommitdiff
path: root/components/Button.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/Button.tsx')
-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"
- />
- );
-}