: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 { LemonButton } from 'lib/lemon-ui/LemonButton'
import { urls } from 'scenes/urls'
import { Group } from '~/types'
import { RelatedGroups } from '../components/RelatedGroups'
export function GroupPeopleCard({ groupData }: { groupData: Group }): JSX.Element {
return (
<div className="flex flex-col gap-2">
<RelatedGroups
groupTypeIndex={groupData.group_type_index}
id={groupData.group_key}
type="person"
pageSize={5}
/>
<div className="flex justify-end">
<LemonButton
type="secondary"
size="small"
to={urls.group(groupData.group_type_index, groupData.group_key, true, 'related')}
>
View people
</LemonButton>
</div>
</div>
)
}