diff --git a/dev-docs/docs/@excalidraw/excalidraw/api/children-components/main-menu.mdx b/dev-docs/docs/@excalidraw/excalidraw/api/children-components/main-menu.mdx index b0062d962..170406220 100644 --- a/dev-docs/docs/@excalidraw/excalidraw/api/children-components/main-menu.mdx +++ b/dev-docs/docs/@excalidraw/excalidraw/api/children-components/main-menu.mdx @@ -167,3 +167,27 @@ function App() { | Prop | Type | Required | Default | Description | | --- | --- | :-: | :-: | --- | | `children ` | `React.ReactNode` | Yes | - | The content of the `Menu Group` | + +### MainMenu.Separator + +To put a horizontal line between items, you can use `MainMenu.Separator`. + +```jsx live +function App() { + return ( +
+ + + window.alert("Item1")}> + Item1 + + + window.alert("Item2")}> + Item 2 + + + +
+ ); +} +```