From 333b7e4c9b136af6219af7b4ad284b893f37d968 Mon Sep 17 00:00:00 2001 From: Jeremy Woertink Date: Fri, 11 Apr 2025 05:46:11 -0700 Subject: [PATCH] docs(components): add missing `children` field in items (#3846) --- docs/content/3.components/context-menu.md | 1 + docs/content/3.components/dropdown-menu.md | 1 + docs/content/3.components/navigation-menu.md | 1 + 3 files changed, 3 insertions(+) diff --git a/docs/content/3.components/context-menu.md b/docs/content/3.components/context-menu.md index 63bd87ee..85453b91 100644 --- a/docs/content/3.components/context-menu.md +++ b/docs/content/3.components/context-menu.md @@ -32,6 +32,7 @@ Use the `items` prop as an array of objects with the following properties: - [`slot?: string`{lang="ts-type"}](#with-custom-slot) - `onSelect?(e: Event): void`{lang="ts-type"} - [`onUpdateChecked?(checked: boolean): void`{lang="ts-type"}](#with-checkbox-items) +- `children?: ContextMenuItem[] | ContextMenuItem[][]`{lang="ts-type"} You can pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc. diff --git a/docs/content/3.components/dropdown-menu.md b/docs/content/3.components/dropdown-menu.md index 89c006d1..7d7c3f54 100644 --- a/docs/content/3.components/dropdown-menu.md +++ b/docs/content/3.components/dropdown-menu.md @@ -32,6 +32,7 @@ Use the `items` prop as an array of objects with the following properties: - [`slot?: string`{lang="ts-type"}](#with-custom-slot) - `onSelect?(e: Event): void`{lang="ts-type"} - [`onUpdateChecked?(checked: boolean): void`{lang="ts-type"}](#with-checkbox-items) +- `children?: DropdownMenuItem[] | DropdownMenuItem[][]`{lang="ts-type"} You can pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc. diff --git a/docs/content/3.components/navigation-menu.md b/docs/content/3.components/navigation-menu.md index 029c8a33..fef431b0 100644 --- a/docs/content/3.components/navigation-menu.md +++ b/docs/content/3.components/navigation-menu.md @@ -28,6 +28,7 @@ Use the `items` prop as an array of objects with the following properties: - `class?: any`{lang="ts-type"} - [`slot?: string`{lang="ts-type"}](#with-custom-slot) - `onSelect?(e: Event): void`{lang="ts-type"} +- `children?: NavigationMenuChildItem[]`{lang="ts-type"} You can pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc.