mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-01 16:44:24 +00:00
fix import in sidebar example (#5438)
This commit is contained in:
@@ -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 }) {
|
||||
|
||||
Reference in New Issue
Block a user