export const TOOLTIP = {
contentStyle: { background: '#0e1626', border: '1px solid rgba(0,212,255,0.25)', borderRadius: 8 },
labelStyle: { color: '#8ba3bc' }
};
export const CHART_GRID = { stroke: 'rgba(255,255,255,0.06)' };
export function UseCaseHero({ title, badge, subtitle, valueProps, sources }) {
return (
{badge &&
{badge}}
{title}
{subtitle}
{sources && (
{sources.map(s => {s})}
)}
{valueProps?.length > 0 && (
{valueProps.map(v => (
))}
)}
);
}
export function InsightStrip({ items }) {
if (!items?.length) return null;
return (
{items.map((item, i) => (
{item.label}
{item.text}
))}
);
}
export function ChartGrid({ children, cols = 2 }) {
return {children}
;
}
export function ChartCard({ title, subtitle, children, tall }) {
return (
{title}
{subtitle &&
{subtitle}
}
{children}
);
}