:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
/** A table cell with one fact per line. The first line is the main fact, falsy lines are left out. */
export function SetupStackedCell({ lines }: { lines: (string | null | undefined | false)[] }): JSX.Element {
const shown = lines.filter((line): line is string => !!line)
return (
<div className="flex flex-col text-xs" translate="no">
{shown.map((line, index) => (
<span key={index} className={index === 0 ? undefined : 'text-secondary'}>
{line}
</span>
))}
</div>
)
}