gendesign/.design-sync/previews/MapPicker.tsx

8 lines
485 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { MapPicker } from 'tradein-mvp-frontend';
/** Модалка выбора адреса на карте ЕКБ (Leaflet+OSM). Рендерится через
* createPortal в document.body как position:fixed оверлей — НЕ заперт в ячейке
* грида. Leaflet тянется с CDN (офлайн → «не удалось загрузить карту»). */
export const Default = () => (
<MapPicker onPick={() => {}} onClose={() => {}} />
);