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