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

9 lines
724 B
TypeScript
Raw Permalink 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 { HouseAnalyticsSection } from 'tradein-mvp-frontend';
import { FIXTURE_ESTIMATE } from './_fixtures';
/** Секция-обёртка «Аналитика дома» — fetch-coupled: тянет house-analytics +
* sell-time-sensitivity по estimateId через TanStack Query. Глобальный provider
* preview-режима с пустым кэшем → isPending → секция возвращает null (пустой
* рендер). Содержимое покрыто отдельными ячейками HouseAnalyticsKpiRow /
* PriceHistoryChart / RecentSoldList / SellTimeSensitivity. */
export const Default = () => <HouseAnalyticsSection estimateId={FIXTURE_ESTIMATE.estimate_id} />;