diff --git a/docs/content/3.components/context-menu.md b/docs/content/3.components/context-menu.md index eb8ea2df..8e633d46 100644 --- a/docs/content/3.components/context-menu.md +++ b/docs/content/3.components/context-menu.md @@ -23,10 +23,12 @@ Use the `items` prop as an array of objects with the following properties: - `avatar?: AvatarProps`{lang="ts-type"} - `kbds?: string[] | KbdProps[]`{lang="ts-type"} - [`type?: "link" | "label" | "separator" | "checkbox"`{lang="ts-type"}](#with-checkbox-items) +- [`checked?: boolean`{lang="ts-type"}](#with-checkbox-items) - `disabled?: boolean`{lang="ts-type"} - `class?: any`{lang="ts-type"} - [`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) You can also 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 268f7123..6a074d71 100644 --- a/docs/content/3.components/dropdown-menu.md +++ b/docs/content/3.components/dropdown-menu.md @@ -23,10 +23,12 @@ Use the `items` prop as an array of objects with the following properties: - `avatar?: AvatarProps`{lang="ts-type"} - `kbds?: string[] | KbdProps[]`{lang="ts-type"} - [`type?: "link" | "label" | "separator" | "checkbox"`{lang="ts-type"}](#with-checkbox-items) +- [`checked?: boolean`{lang="ts-type"}](#with-checkbox-items) - `disabled?: boolean`{lang="ts-type"} - `class?: any`{lang="ts-type"} - [`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) You can also pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc.