21 lines
421 B
TypeScript
21 lines
421 B
TypeScript
import { cn } from "@repo/shadcn-ui/lib/utils";
|
|
import { PropsWithChildren } from "react";
|
|
|
|
export const AppContent = ({
|
|
className,
|
|
children,
|
|
...props
|
|
}: PropsWithChildren<{ className?: string }>) => {
|
|
return (
|
|
<div
|
|
className={cn(
|
|
"app-content flex flex-1 flex-col gap-4 p-6 pt-8 bg-sidebar/25 min-h-screen",
|
|
className
|
|
)}
|
|
{...props}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|