Harshith Mullapudi b380f2657f
Feat: add mcp oauth2.1 support (#30)
* Feat: add mcp oauth2.1 support

* Fix: integration mcp is not loading

* Feat: add slack integration

---------

Co-authored-by: Manoj K <saimanoj58@gmail.com>
2025-07-24 03:06:24 -07:00

34 lines
818 B
TypeScript

interface SectionProps {
icon?: React.ReactNode;
title: string;
description: string;
metadata?: React.ReactNode;
children: React.ReactNode;
}
export function Section({
icon,
title,
description,
metadata,
children,
}: SectionProps) {
return (
<div className="flex h-full w-full gap-6">
<div className="flex w-[400px] shrink-0 flex-col">
{icon && <>{icon}</>}
<h3 className="text-lg"> {title} </h3>
<p className="text-muted-foreground">{description}</p>
{metadata ? metadata : null}
</div>
<div className="grow">
<div className="flex h-full w-full justify-end overflow-auto">
<div className="flex h-full max-w-[76ch] grow flex-col gap-2">
{children}
</div>
</div>
</div>
</div>
);
}