docs(navigation-menu): update

This commit is contained in:
Benjamin Canac
2024-09-05 16:19:09 +02:00
parent 9af06e95cc
commit 2934a280e8
5 changed files with 280 additions and 4 deletions

View File

@@ -98,8 +98,12 @@ slots:
:u-button{icon="i-heroicons-bars-3" color="gray" variant="outline"}
::
::note
You can pass an array of arrays to the `items` prop to create separated groups of items.
::
::tip
Each item can take a `children` array to create a nested menu which can be controlled using the `open`, `defaultOpen` and `content` properties.
Each item can take a `children` array of objects with the same properties as the `items` prop to create a nested menu which can be controlled using the `open`, `defaultOpen` and `content` properties.
::
### Content