import roundCheckedWhiteSvg from "@/assets/images/round-checked-white.svg"; import spiner2Svg from "@/assets/images/spiner2.svg"; import classNames from "classnames"; type ButtonProps = React.DetailedHTMLProps< React.ButtonHTMLAttributes, HTMLButtonElement > & { theme?: "white" | "ghost"; shape?: "round" | "default"; size?: "default" | "small" | "large" | "icon"; block?: boolean; status?: ButtonStatusType; // | 'ghost-gray' // | 'ghost-black' // | 'ghost-primary' }; export type ButtonStatusType = "normal" | "loading" | "success"; export function Button(props: ButtonProps) { const { theme = "primary", shape = "default", size = "default", disabled, block = false, status = "normal", className, ...otherProps } = props; return ( ); }