































type ValLabel<N> = {
  key: N
  label: N
  icon: string
  disabled?: boolean
}

export type DasButtonProps = {
  
  btnType?:
    | 'primary'
    | 'basicset'
    | 'primary-basicset'
    | 'default-basicset'
    | 'default-sameset'
    | 'primary-sameset'
    | 'tabs'
    | 'default-text'
    | 'primary-text'
    | 'default'
  size?: 'small' | 'middle' | 'large'
  
  disabled?: boolean
  
  block?: boolean
  
  ghost?: boolean
  
  menuData?: any[]
  defaultMenuProps?: ValLabel<string>
  
  icon?: string
  
  activeIcon?: string
  
  isIconLeft?: boolean
  
  trigger?: 'click' | 'hover' | 'contextmenu'
  
  activeKey?: string | number | boolean
  getPopupContainer?: () => void
  
  isClickDebounce?: boolean
}
