import { q as e, O as n, e as m, N as c } from "./index-jYYVpIDL.js";
function p({ value: s, onChange: t, ...a }) {
  return /* @__PURE__ */ e.jsxs("div", { className: "relative flex items-center", children: [
    /* @__PURE__ */ e.jsx(
      n,
      {
        name: "map-pin",
        className: "text-muted absolute left-0.5 ml-3 h-4 w-4 -translate-y-1/2",
        style: { top: "44%" }
      }
    ),
    /* @__PURE__ */ e.jsx(
      m,
      {
        ...a,
        value: s,
        onChange: (l) => {
          t(l.target.value);
        },
        className: c("pl-10", a == null ? void 0 : a.className)
      }
    )
  ] });
}
export {
  p as default
};
