aboutsummaryrefslogtreecommitdiffstats
path: root/ui/src/components/Button.tsx
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@atuin.sh>2024-07-30 16:54:10 +0100
committerGitHub <noreply@github.com>2024-07-30 16:54:10 +0100
commit808138de633e410c1d3867d4fb7cb74967647605 (patch)
treef180b7066b91d8d8d8006219a118439be1621d74 /ui/src/components/Button.tsx
parentchore(deps): bump debian (#2320) (diff)
downloadatuin-808138de633e410c1d3867d4fb7cb74967647605.zip
chore: remove ui directory (#2329)
This is still in development, but rather than clutter the commit history and issues with an unreleased project I've split the UI into its own repo. Once ready for release, I'll either merge the ui code back in, or just make the repo public.
Diffstat (limited to 'ui/src/components/Button.tsx')
-rw-r--r--ui/src/components/Button.tsx20
1 files changed, 0 insertions, 20 deletions
diff --git a/ui/src/components/Button.tsx b/ui/src/components/Button.tsx
deleted file mode 100644
index 5f7e1160..00000000
--- a/ui/src/components/Button.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-export enum ButtonStyle {
- PrimarySm = "bg-emerald-500 hover:bg-emerald-600",
- PrimarySmFill = "bg-emerald-500 hover:bg-emerald-600 w-full text-sm",
-}
-
-interface ButtonProps {
- text: string;
- style: ButtonStyle;
-}
-
-export default function Button(props: ButtonProps) {
- return (
- <button
- type="button"
- className={`rounded ${props.style} px-2 py-1 font-semibold text-white shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-500`}
- >
- {props.text}
- </button>
- );
-}