mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 16:56:22 +02:00
- Introduced SidebarSeparator component for improved sidebar organization. - Updated layout configuration to utilize the new SidebarSeparator in the documentation layout.
12 lines
295 B
TypeScript
12 lines
295 B
TypeScript
"use client";
|
|
|
|
import type { Separator } from "fumadocs-core/page-tree";
|
|
|
|
export function SidebarSeparator({ item }: { item: Separator }) {
|
|
return (
|
|
<p className="inline-flex items-center gap-2 mb-1.5 px-2 mt-6 font-semibold first:mt-0 empty:mb-0">
|
|
{item.icon}
|
|
{item.name}
|
|
</p>
|
|
);
|
|
}
|