Imports tradein-mvp/frontend (38 components) to a claude.ai/design design-system project. Synth-entry build (Next.js app, no dist): - overrides/source-kit.mjs: process.env shim for browser IIFE - preview-provider.tsx: seeded TanStack Query provider (mirrors the repo's offline ui-preview client) so fetch-coupled + auth-gated cards render - previews/*.tsx: authored preview compositions (real fixture data) - conventions.md: README header for the design agent - config.json + NOTES.md: reproducible re-sync inputs
8 lines
485 B
TypeScript
8 lines
485 B
TypeScript
import { MapPicker } from 'tradein-mvp-frontend';
|
||
|
||
/** Модалка выбора адреса на карте ЕКБ (Leaflet+OSM). Рендерится через
|
||
* createPortal в document.body как position:fixed оверлей — НЕ заперт в ячейке
|
||
* грида. Leaflet тянется с CDN (офлайн → «не удалось загрузить карту»). */
|
||
export const Default = () => (
|
||
<MapPicker onPick={() => {}} onClose={() => {}} />
|
||
);
|