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

23 lines (22 loc) 528 B
import { QRType } from '../definitions'; export interface FormFieldProps { label: string; name: string; type?: string; placeholder?: string; required?: boolean; pattern?: string; maxLength?: number; min?: string; max?: string; options?: Array<{ value: string; label: string; }>; helper?: string; } export declare const qrFormFields: Record<QRType, FormFieldProps[]>; export declare const qrTypeInfo: Record<QRType, { icon: string; description: string; }>;