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
16 lines (15 loc) • 986 B
TypeScript
import React from 'react';
interface ArrayFieldEditorProps {
fieldName: string;
label: string;
value: any[];
onChange: (value: any[]) => void;
itemTemplate: Record<string, any>;
renderItem: (item: any, index: number, onChange: (newItem: any) => void, onRemove: () => void) => React.ReactNode;
}
export declare const ArrayFieldEditor: React.FC<ArrayFieldEditorProps>;
export declare const renderImageItem: (item: any, _index: number, onChange: (newItem: any) => void) => import("react/jsx-runtime").JSX.Element;
export declare const renderLinkItem: (item: any, _index: number, onChange: (newItem: any) => void) => import("react/jsx-runtime").JSX.Element;
export declare const renderMenuCategory: (category: any, index: number, onChange: (newCategory: any) => void) => import("react/jsx-runtime").JSX.Element;
export declare const renderMenuItem: (item: any, _index: number, onChange: (newItem: any) => void) => import("react/jsx-runtime").JSX.Element;
export {};