: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
import { ReactNode } from 'react'
/** Titled block used by the access detail sections, shared so the Defaults tab can reuse them. */
export function AccessDetailSection({
title,
description,
children,
}: {
title: string
description?: string
children: ReactNode
}): JSX.Element {
return (
<div className="space-y-2">
<div>
<h3 className="mb-0">{title}</h3>
{description && <p className="text-secondary text-sm mb-0">{description}</p>}
</div>
{children}
</div>
)
}