diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2023-02-19 12:03:19 +0100 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2023-02-19 12:03:19 +0100 |
| commit | f9df37ce9fd0eca4e7160f673c932a7552e07174 (patch) | |
| tree | 02dfcac90d3c5dce29d2b96d815e4a2a3ef66743 /components | |
| parent | 18f7a28a7ee6e6c8a04233feac037bbf9c91b0a5 (diff) | |
chore: Remove useless
Diffstat (limited to 'components')
| -rw-r--r-- | components/Button.tsx | 12 |
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" - /> - ); -} |
