df-forms-preview-react
Version:
A comprehensive React form preview component library with form controls, validation, and responsive design
21 lines • 749 B
TypeScript
import React from 'react';
import { IDateComponent, IFormControlChange, IFormValidationErrors } from '../df-form-preview-interfaces';
interface DfFormDateTimeProps {
id: string;
properties: IDateComponent;
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 DfFormDateTime: React.FC<DfFormDateTimeProps>;
export default DfFormDateTime;
//# sourceMappingURL=DfFormDateTime.d.ts.map