@hhgtech/hhg-components
Version:
Hello Health Group common components
15 lines (14 loc) • 469 B
TypeScript
declare const useAddress: ({ provinces: provincesInit }: {
provinces: any;
}) => {
provinces: string[];
districts: string[];
wards: string[];
selectedProvince: string;
selectedDistrict: string;
selectedWard: string;
handleProvinceChange: (_selectedProvince: string) => void;
handleDistrictChange: (_selectedDistrict: string) => void;
handleWardChange: (_selectedWard: string) => void;
};
export default useAddress;