修复按钮样式

This commit is contained in:
YI FANG
2025-12-01 17:56:47 +08:00
parent 8b1aa3a5ec
commit 9efea10135

View File

@@ -9,7 +9,7 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, PropsWith
export const Button = ({ className = '', children, ...rest }: ButtonProps) => ( export const Button = ({ className = '', children, ...rest }: ButtonProps) => (
<button <button
className={cls( className={cls(
'inline-flex items-center gap-2 px-4 py-2 rounded-2xl border text-sm bg-white hover:bg-gray-50 transition-colors', 'inline-flex items-center gap-2 px-4 py-2 rounded-2xl border text-sm transition-colors',
className, className,
)} )}
{...rest} {...rest}