t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
17 lines (11 loc) • 405 B
TypeScript
import type { ButtonHTMLAttributes } from 'vue'
export type { ButtonPropsType } from './props'
export type ButtonSizeType = 'large' | 'middle' | 'small' | 'mini'
export type ButtonTargetType = '_blank' | '_self' | '_parent' | '_top'
export type ButtonType =
| 'default'
| 'primary'
| 'success'
| 'danger'
| 'warning'
export type ButtonNativeType = NonNullable<ButtonHTMLAttributes['type']>