UNPKG

sard-uniapp

Version:

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

26 lines (25 loc) 720 B
import { type StyleValue } from 'vue'; import { type DefaultProps } from '../config'; export type QrcodeECL = 'L' | 'M' | 'Q' | 'H'; export interface QrcodeProps { rootStyle?: StyleValue; rootClass?: string; text?: string; ecl?: QrcodeECL; type?: 'canvas' | 'image'; size?: string; /** @deprecated */ canvasSize?: number; color?: string; bgColor?: string; quietZoneModules?: number; showMenuByLongpress?: boolean; icon?: string; } export declare const defaultQrcodeProps: () => DefaultProps<QrcodeProps>; export interface QrcodeSlots { default?(props: Record<string, never>): any; } export interface QrcodeEmits { (e: 'success', tempFilePath: string): void; }