UNPKG

@cmk/fe_utils

Version:
15 lines (13 loc) 500 B
import { ReactNode } from 'react'; export type StringArrayFieldProps = { value?: string[] | null; label?: ReactNode; name?: string; required?: boolean; error?: boolean; onChangeArray: (newValue: string, name?: string) => void; onRemoveItem: (name: string | undefined, arrayIndex: number) => void; enableDeleteFirst?: boolean; disabled?: boolean; }; export declare const StringArrayField: (props: StringArrayFieldProps) => import("react/jsx-runtime").JSX.Element;