From 79a01da18d2308a3e969f3ebb2887b0edc2bf0f8 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Wed, 8 May 2024 16:08:34 -0700 Subject: [PATCH] refactor: ButtonStyle type --- web/types/ui/button.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/types/ui/button.ts b/web/types/ui/button.ts index ae0000e02..550ee3275 100644 --- a/web/types/ui/button.ts +++ b/web/types/ui/button.ts @@ -1,5 +1,6 @@ +export type ButtonStyle = 'black' | 'fill' | 'gray' | 'outline' | 'outline-black' | 'outline-white' | 'underline' | 'underline-hover-red' | 'white' | 'none'; export interface ButtonProps { - btnStyle?: 'black' | 'fill' | 'gray' | 'outline' | 'outline-black' | 'outline-white' | 'underline' | 'underline-hover-red' | 'white' | 'none'; + btnStyle?: ButtonStyle; btnType?: 'button' | 'submit' | 'reset'; class?: string; click?: () => void;