UNPKG

digitaform-preview-react

Version:

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

31 lines 978 B
import React from 'react'; import { ILocationComponent, IFormControlChange, IFormValidationErrors } from '../df-form-preview-interfaces'; interface DfFormLocationProps { id: string; properties: ILocationComponent; validationErrors?: IFormValidationErrors; formValue?: ILocationData | null; 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; } interface ILocationData { latitude: number; longitude: number; accuracy?: number; timestamp?: number; address?: string; placeName?: string; city?: string; country?: string; } export declare const DfFormLocation: React.FC<DfFormLocationProps>; export default DfFormLocation; //# sourceMappingURL=DfFormLocation.d.ts.map