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