UNPKG

@tplc/business

Version:

41 lines (40 loc) 1.1 kB
import { progressProps } from '@tplc/wot/components/wd-progress/types' import { LcbActionViewProps } from '../lcb-action-view/types' import { LcbBlockProps } from '../lcb-block/types' import { ExtractPropTypes } from 'vue' export interface LcbButtonProps extends LcbBlockProps { text: string action?: LcbActionViewProps mode: 'image' | 'text' | 'noStyle' | 'qrcode' | 'progress' url?: string imageWidth?: number imageHeight?: number dynamicKey?: string keyFromUser?: boolean qrCodeSize?: number customClass?: string fillWidth?: boolean fillHeight?: boolean icon?: string iconSize?: number iconColor?: string iconGap?: number hideWhenDynamicKeyNotExist?: boolean textDefaultValue?: string enablePreview?: boolean itemAlign?: | 'top-left' | 'top-center' | 'top-right' | 'center-left' | 'center-center' | 'center-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' dynamicActionKey?: string lineClamp?: number progressProps?: ExtractPropTypes<typeof progressProps> fontFamily?: string formKeys?: string[] }