UNPKG

@blocklet/ui-react

Version:

Some useful front-end web components that can be used in Blocklets.

17 lines (16 loc) 502 B
import { UserAddress } from '../../../@types'; interface AddressErrors { country?: string; province?: string; city?: string; line1?: string; line2?: string; postalCode?: string; } export default function AddressEditor({ address, errors, handleChange, defaultCountry, }: { address: UserAddress; errors: AddressErrors; handleChange: (field: keyof UserAddress, value: string) => void; defaultCountry: string; }): import("react/jsx-runtime").JSX.Element; export {};