wwf
2 天以前 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
app/components/base/action-button/index.tsx
@@ -8,7 +8,6 @@
  Active = 'active',
  Disabled = 'disabled',
  Default = '',
  Hover = 'hover',
}
const actionButtonVariants = cva(
@@ -29,7 +28,7 @@
)
export type ActionButtonProps = {
  size?: 'xs' | 's' | 'm' | 'l' | 'xl'
  size?: 'xs' | 'm' | 'l' | 'xl'
  state?: ActionButtonState
  styleCss?: CSSProperties
} & React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof actionButtonVariants>
@@ -42,8 +41,6 @@
      return 'action-btn-active'
    case ActionButtonState.Disabled:
      return 'action-btn-disabled'
    case ActionButtonState.Hover:
      return 'action-btn-hover'
    default:
      return ''
  }