UNPKG

df-forms-preview-react

Version:

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

22 lines 787 B
import React from 'react'; import { ISegmentComponent, IFormControlChange, IFormValidationErrors } from '../df-form-preview-interfaces'; interface DfFormSegmentProps { id: string; properties: ISegmentComponent; validationErrors?: IFormValidationErrors; formValue?: string; 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; showCommentsInPreview?: boolean; } export declare const DfFormSegment: React.FC<DfFormSegmentProps>; export default DfFormSegment; //# sourceMappingURL=DfFormSegment.d.ts.map