form-preview-df
Version:
Resusable Form Preview Components
21 lines • 757 B
TypeScript
import React from 'react';
import { ITextareaComponent, IFormControlChange, IFormValidationErrors } from '../df-form-preview-interfaces';
interface DfFormTextareaProps {
id: string;
properties: ITextareaComponent;
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;
}
export declare const DfFormTextarea: React.FC<DfFormTextareaProps>;
export default DfFormTextarea;
//# sourceMappingURL=DfFormTextarea.d.ts.map