UNPKG

df-forms-preview-react

Version:

A comprehensive React form preview component library with form controls, validation, and responsive design

22 lines 894 B
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; } export declare const DfFormInput: React.FC<DfFormInputProps>; export default DfFormInput; //# sourceMappingURL=DfFormInput.d.ts.map