interface QRCodeProps {
    bgColor?: string;
    bordered?: boolean;
    className?: string;
    color?: string;
    errorLevel?: "M" | "L" | "Q" | "H";
    icon?: string;
    iconSize?: number;
    imageSettings?: ImageSettings;
    includeMargin?: boolean;
    onRefresh?: (() => void);
    prefixCls?: string;
    rootClassName?: string;
    size?: number;
    status?: "active" | "loading" | "expired" | "scanned";
    style?: CSSProperties;
    type?: "canvas" | "svg";
    value: string;
}

Hierarchy

  • QRProps
    • QRCodeProps

Properties

bgColor?: string
bordered?: boolean
className?: string
color?: string
errorLevel?: "M" | "L" | "Q" | "H"
icon?: string
iconSize?: number
imageSettings?: ImageSettings
includeMargin?: boolean
onRefresh?: (() => void)

Type declaration

    • (): void
    • Returns void

prefixCls?: string
rootClassName?: string
size?: number
status?: "active" | "loading" | "expired" | "scanned"
style?: CSSProperties
type?: "canvas" | "svg"
value: string

Generated using TypeDoc