import { Input } from "../components/form/inputs/Input"; import { MapPin } from "../components/icon"; export type AddressInputProps = { value: string; id?: string; placeholder?: string; required?: boolean; onChange: (val: string) => void; className?: string; }; function AddressInput({ className = "", value, onChange, ...rest }: AddressInputProps) { return (
{ onChange(e.target.value); }} className={`${className} py-px pl-10`} />
); } export default AddressInput;