import { Box, ScrollBox } from "../../../../ui";
import { EmptyState } from "../../../../components";
import type { BuildoutRow } from "../model/types";
import type { InlineTickerCatalog } from "./ui";
import { CompanyDetail } from "./company";
import { SiteDetail } from "./site";
import { IntelDetail } from "./intel";
export {
CompanyCell,
FavoriteCell,
tickerBadges,
} from "./ui";
export function BuildoutDetail({
row,
width,
height,
catalog,
openTicker,
}: {
row: BuildoutRow | null;
width: number;
height: number;
catalog: InlineTickerCatalog;
openTicker: (symbol: string) => void;
}) {
if (!row) return ;
const bodyWidth = Math.max(width - 2, 20);
return (
{row.kind === "company" ? (
) : null}
{row.kind === "site" ? (
) : null}
{row.kind === "intel" ? (
) : null}
);
}