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
12 lines
552 B
TypeScript
12 lines
552 B
TypeScript
import { AddressInput } from 'tradein-mvp-frontend';
|
||
|
||
/** Combobox адреса ЕКБ с автокомплитом. Dropdown открывается по focus/набору
|
||
* (фетч suggest офлайн недоступен) — карточка показывает заполненный control. */
|
||
export const Default = () => (
|
||
<AddressInput
|
||
value="Екатеринбург, ул. Репина, 75/2"
|
||
onChange={() => {}}
|
||
onPickCoords={() => {}}
|
||
placeholder="ул. Малышева, 30 · Куйбышева, 48…"
|
||
/>
|
||
);
|