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

8 lines
655 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 { StreetDealsCard } from 'tradein-mvp-frontend';
import { FIXTURE_ESTIMATE } from './_fixtures';
/** «По вашей улице» — ДКП-сделки Росреестра + историч. ASK.
* FETCH-COUPLED: данные ТОЛЬКО из useSalesVsListings (нет data-prop). Глобальный
* query-cache в preview пуст → isLoading/isError → `return null`. В офлайн-capture
* карточка рендерится пусто; на реальной странице — таблица сделок с привязкой к ASK. */
export const Default = () => <StreetDealsCard estimate={FIXTURE_ESTIMATE} />;