MCPcopy Create free account
hub / github.com/Thanas-R/Virdis / SearchBarProps

Interface SearchBarProps

src/components/SearchBar.tsx:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { supabase } from "@/integrations/supabase/client";
4import { callBackend } from "@/lib/call-backend";
5
6interface SearchBarProps {
7 onSearch: (query: string) => void;
8 /** @deprecated no longer required; geocoding goes through the mapbox-geocode edge function */
9 mapToken?: string;
10 onLocationSelect?: (lng: number, lat: number, name: string) => void;
11}
12
13interface GeocodingResult {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected