import { Button } from "@plane/ui"; type Props = { title: string | React.ReactNode; description?: string; appendToRight?: React.ReactNode; showButton?: boolean; button?: { label: string; onClick: () => void; }; }; export const SettingsHeading = ({ title, description, button, appendToRight, showButton = true }: Props) => (
{typeof title === "string" ?

{title}

: title} {description &&
{description}
}
{button && showButton && ( )} {appendToRight}
); export default SettingsHeading;