We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23d2939 commit fc4a4acCopy full SHA for fc4a4ac
apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/support/SupportLayout.tsx
@@ -1,8 +1,15 @@
1
"use client";
2
3
-export function SupportLayout(props: { children: React.ReactNode }) {
+import { cn } from "@/lib/utils";
4
+
5
+interface SupportLayoutProps {
6
+ children: React.ReactNode;
7
+ className?: string;
8
+}
9
10
+export function SupportLayout(props: SupportLayoutProps): React.ReactElement {
11
return (
- <div className="flex grow flex-col">
12
+ <div className={cn("flex grow flex-col", props.className)}>
13
{/* Page content */}
14
<div className="container flex grow gap-8 lg:min-h-[900px] [&>*]:py-8 lg:[&>*]:py-10">
15
<div className="flex max-w-full grow flex-col">{props.children}</div>
0 commit comments