UNPKG

react-daum-address-hook

Version:

A lightweight and modern React hook for Daum(Kakao) address search service with TypeScript support

17 lines (16 loc) 425 B
export interface AddressSearchResult { zonecode: string; address: string; addressType: "R" | "J"; roadAddress?: string; jibunAddress?: string; buildingName?: string; addressEnglish?: string; roadAddressEnglish?: string; jibunAddressEnglish?: string; } export interface UseAddressSearch { selectedAddress: AddressSearchResult | null; openSearch: () => void; isReady: boolean; }