: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'
export interface SuggestionsStatusNoticeProps {
icon: ReactNode
message: string
extra?: ReactNode
}
export function SuggestionsStatusNotice({ icon, message, extra }: SuggestionsStatusNoticeProps): JSX.Element {
return (
<div className="flex flex-wrap items-center gap-x-3 gap-y-2 rounded border border-primary bg-surface-primary px-3 py-2 text-sm">
<span className="flex shrink-0 text-base text-secondary">{icon}</span>
<span className="min-w-0 flex-1">{message}</span>
{extra}
</div>
)
}