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

@@ -99,8 +99,12 @@ slots:
:div{class="flex items-center justify-center rounded-md border border-dashed border-gray-300 dark:border-gray-700 text-sm aspect-video w-72"}[Right click here]
::
::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.
::
### Size