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
6 lines
446 B
TypeScript
6 lines
446 B
TypeScript
import { SellTimeSensitivity } from 'tradein-mvp-frontend';
|
||
import { FIXTURE_SELLTIME } from './_fixtures';
|
||
|
||
/** «Срок продажи в зависимости от цены» — 4 бакета премии (−5% / медиана / +5% /
|
||
* +10%) с медианой экспозиции и p25–p75. Принимает data-пропом напрямую. */
|
||
export const Default = () => <SellTimeSensitivity data={FIXTURE_SELLTIME} />;
|