) {
return (
-
+
{title}
@@ -32,10 +37,12 @@ export function SidebarSection({
interface TitleProps {
showWhenOpen?: boolean;
+ hoverText?: string;
}
export function SidebarSectionTitle({
showWhenOpen,
+ hoverText,
children,
}: PropsWithChildren) {
const { isOpen } = useSidebarState();
@@ -45,7 +52,10 @@ export function SidebarSectionTitle({
}
return (
-
+
{children}
);