refactor: ButtonStyle type

This commit is contained in:
Zack Spear
2024-05-08 16:08:34 -07:00
committed by Zack Spear
parent 14951d3004
commit 79a01da18d

View File

@@ -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;