UNPKG

df-ae-forms-package

Version:

A comprehensive React form preview component library with form controls, validation, and responsive design for Angular/Ionic integration

25 lines 1.02 kB
import React from 'react'; import { ITextInputComponent, INumberInputComponent, IEmailInputComponent, TInputComponentType, IFormControlChange, IFormValidationErrors } from '../df-form-preview-interfaces'; interface DfFormInputProps { id: string; properties: ITextInputComponent | INumberInputComponent | IEmailInputComponent; validationErrors?: IFormValidationErrors; formValue?: string; inputType?: TInputComponentType; readonly?: boolean; disabled?: boolean; touchedFields?: Record<string, boolean>; formSubmitted?: boolean; mode?: 'edit' | 'preview' | 'test'; onValueChange?: (change: IFormControlChange) => void; onBlur?: () => void; onFocus?: () => void; className?: string; hideLabel?: boolean; formTemplateId?: string; onThresholdIssueRaised?: (conditionId: string) => void; raisedThresholdIssues?: Set<string>; } export declare const DfFormInput: React.FC<DfFormInputProps>; export default DfFormInput; //# sourceMappingURL=DfFormInput.d.ts.map