UNPKG

tdesign-mobile-vue

Version:
19 lines (18 loc) 608 B
import { LoadingProps } from '../loading'; import { TNode } from '../common'; export interface TdButtonProps { block?: boolean; content?: string | TNode; disabled?: boolean; ghost?: boolean; icon?: TNode; loading?: boolean; loadingProps?: LoadingProps; shape?: 'rectangle' | 'square' | 'round' | 'circle'; size?: 'extra-small' | 'small' | 'medium' | 'large'; suffix?: TNode; theme?: 'default' | 'primary' | 'danger' | 'light'; type?: 'submit' | 'reset' | 'button'; variant?: 'base' | 'outline' | 'dashed' | 'text'; onClick?: (e: MouseEvent) => void; }