Files
probo/apps/console/src/components/AppSidebarSkeleton.tsx
Émile Ré aa0fca8f7b sidebar shell + skeleton
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2025-03-07 15:40:00 +04:00

17 lines
473 B
TypeScript

import { AppSidebarShell } from "./AppSidebarShell";
import { NavUserSkeleton } from "./NavUserSkeleton";
import { OrganizationSwitcherSkeleton } from "./OrganizationSwitcherSkeleton";
import { Sidebar } from "./ui/sidebar";
export function AppSidebarSkeleton(
props: React.ComponentProps<typeof Sidebar>
) {
return (
<AppSidebarShell
organizationSwitcher={<OrganizationSwitcherSkeleton />}
navUser={<NavUserSkeleton />}
{...props}
/>
);
}