Virtual whiteboard for sketching hand-drawn like diagrams
docs: toggleSidebar api fix (#7575)
halocean96f3f82171252a
diff --git a/dev-docs/docs/@excalidraw/excalidraw/api/props/excalidraw-api.mdx b/dev-docs/docs/@excalidraw/excalidraw/api/props/excalidraw-api.mdxindex c27e96146c..ffff19fb09 100644--- a/dev-docs/docs/@excalidraw/excalidraw/api/props/excalidraw-api.mdx+++ b/dev-docs/docs/@excalidraw/excalidraw/api/props/excalidraw-api.mdx@@ -37,7 +37,7 @@ You can use this prop when you want to access some [Excalidraw APIs](https://git| [setActiveTool](#setactivetool) | `function` | This API can be used to set the active tool || [setCursor](#setcursor) | `function` | This API can be used to set customise the mouse cursor on the canvas || [resetCursor](#resetcursor) | `function` | This API can be used to reset to default mouse cursor on the canvas |-| [toggleMenu](#togglemenu) | `function` | Toggles specific menus on/off |+| [toggleSidebar](#toggleSidebar) | `function` | Toggles specific sidebar on/off || [onChange](#onChange) | `function` | Subscribes to change events || [onPointerDown](#onPointerDown) | `function` | Subscribes to `pointerdown` events || [onPointerUp](#onPointerUp) | `function` | Subscribes to `pointerup` events |