Files
gitmost/frontend/src/components/sidebar/sidebar-section.tsx
Philipinho 5b6dbcc5bb Add sidebar
2023-08-29 00:15:48 +01:00

16 lines
350 B
TypeScript

import React, { ReactNode } from "react";
import { cn } from "@/lib/utils";
interface SidebarSectionProps {
className?: string;
children: ReactNode
}
export function SidebarSection({className, children}: SidebarSectionProps) {
return (
<div className={cn('flex-shrink-0 flex-grow-0 pb-0.5', className)}>
{children}
</div>
)
}