UNPKG

gtht-miniapp-sdk

Version:

gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库

30 lines (29 loc) 731 B
import { type StyleValue } from 'vue'; export type QrcodeECL = 'L' | 'M' | 'Q' | 'H'; export interface QrcodeProps { rootStyle?: StyleValue; rootClass?: string; text?: string; ecl?: QrcodeECL; type?: 'canvas' | 'image'; size?: string; canvasSize?: number; color?: string; bgColor?: string; quietZoneModules?: number; showMenuByLongpress?: boolean; icon?: string; } export declare const defaultQrcodeProps: { ecl: QrcodeProps["ecl"]; size: string; canvasSize: number; type: QrcodeProps["type"]; text: string; color: string; bgColor: string; quietZoneModules: number; }; export interface QrcodeSlots { default?(props: Record<string, never>): any; }