From 0af473bc6ca033a531a15ca104630f7e510d0c9e Mon Sep 17 00:00:00 2001 From: Haz Date: Sun, 3 Sep 2023 21:28:44 -0300 Subject: [PATCH] Update changeset --- .changeset/2785-menu-provider-4.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.changeset/2785-menu-provider-4.md b/.changeset/2785-menu-provider-4.md index 313acb510f..7d56acff1d 100644 --- a/.changeset/2785-menu-provider-4.md +++ b/.changeset/2785-menu-provider-4.md @@ -4,11 +4,11 @@ "@ariakit/react": patch --- -[`#2785`](https://github.com/ariakit/ariakit/pull/2785) Added `parent` and `menubar` props to the menu store. These props will be automatically set when rendering nested menus or menus inside a menubar. +[`#2785`](https://github.com/ariakit/ariakit/pull/2785) Added `parent` and `menubar` properties to the menu store. These properties are automatically set when rendering nested menus or menus within a menubar. -However, it now supports rendering nested menus that aren't nested in the React tree, in which case you would have to provider the parent menu store manually to the child menu store. +Now, it also supports rendering nested menus that aren't nested in the React tree. In this case, you would have to supply the parent menu store manually to the child menu store. -Those props will also be included in the returned menu store object so you can check them to see if the menu is nested or not. For example: +These properties are also included in the returned menu store object, allowing you to verify whether the menu is nested. For instance: ```jsx const menu = useMenuStore(props);