Skip to content

Commit ced2513

Browse files
authored
docs: fix prop name (#5460)
1 parent 93ae8bd commit ced2513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: apps/www/content/docs/components/sidebar.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ The `SidebarProvider` component is used to provide the sidebar context to the `S
346346
| ------------- | ------------------------- | -------------------------------------------- |
347347
| `defaultOpen` | `boolean` | Default open state of the sidebar. |
348348
| `open` | `boolean` | Open state of the sidebar (controlled). |
349-
| `setOpen` | `(open: boolean) => void` | Sets open state of the sidebar (controlled). |
349+
| `onOpenChange`| `(open: boolean) => void` | Sets open state of the sidebar (controlled). |
350350

351351
### Width
352352

0 commit comments

Comments
 (0)