UNPKG

digipin-reactjs

Version:

React hooks and components for integrating DIGIPIN (Indian Postal Digital PIN) geocoding into React apps. Includes hooks, prebuilt UI, and helpers for seamless integration.

12 lines (11 loc) 313 B
export declare function useDigiPinToLatLon(): { digipinInput: string; setDigiPinInput: import("react").Dispatch<import("react").SetStateAction<string>>; latLonResult: { lat: number; lon: number; } | null; loading: boolean; error: string | null; convert: () => void; };