diff --git a/app/components/button.tsx b/app/components/button.tsx index 08f1d03..4482c09 100644 --- a/app/components/button.tsx +++ b/app/components/button.tsx @@ -1,17 +1,23 @@ import clsx from "clsx" +const VARIANT_CLASSES = { + small: "text-xs py-0", +} as const + function Button({ className, + variant, ...props }: React.DetailedHTMLProps< React.ButtonHTMLAttributes, HTMLButtonElement ->) { +> & { variant?: keyof typeof VARIANT_CLASSES }) { return ( @@ -126,28 +127,29 @@ const DefaultActions = memo(() => { return (
-
@@ -175,10 +177,10 @@ const AddStageActions = memo(() => { return (
- -