fix import in sidebar example (#5438)

This commit is contained in:
Jakob Ortmann
2024-10-21 09:46:27 +02:00
committed by GitHub
parent 182f2083cd
commit 52c12bc27a

View File

@@ -157,7 +157,7 @@ A `Sidebar` component is composed of the following parts:
## Usage
```tsx showLineNumbers title="app/layout.tsx"
import { SidebarProvider } from "@/components/ui/sidebar"
import { SidebarProvider, SidebarTrigger } from "@/components/ui/sidebar"
import { AppSidebar } from "@/components/app-sidebar"
export default function Layout({ children }: { children: React.ReactNode }) {