UNPKG

code-craft-studio

Version:

A comprehensive QR code and barcode scanning/generation library for React. Works with or without Capacitor. Supports 22+ QR data types and 14+ barcode formats (EAN, UPC, Code 128, etc.), with customizable designs, analytics, and React components. Provider

8 lines (7 loc) 347 B
import { QRType, QRData } from '../../definitions'; export declare class QRValidationError extends Error { field?: string | undefined; constructor(message: string, field?: string | undefined); } export declare const validators: Record<QRType, (data: any) => void>; export declare function validateQRData(type: QRType, data: QRData): void;