import type { ComponentProps, ReactNode } from "react"; import { cn } from "../../lib/utils"; /** Sections share header and content insets in both the sidebar and popover. */ export function ThreadDetailsSection({ headingId, title, actions, separated = true, showHeading = true, children, ...props }: Omit, "className" | "style" | "title" | "aria-labelledby"> & { headingId: string; title: string; actions?: ReactNode; separated?: boolean; showHeading?: boolean; }) { return (

{title}

{actions ?
{actions}
: null}
{children}
); }