Skip to content

Commit

Permalink
fix(MenuRadioGroup): update:modelValue payload type
Browse files Browse the repository at this point in the history
  • Loading branch information
tristandubbeld committed Jun 21, 2024
1 parent ba96d02 commit 49edef6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/content/meta/DropdownMenuRadioGroup.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
{
'name': 'update:modelValue',
'description': '<p>Event handler called when the value changes.</p>\n',
'type': '[payload: boolean]'
'type': '[payload: string]'
}
]" />
2 changes: 1 addition & 1 deletion docs/content/meta/MenubarRadioGroup.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
{
'name': 'update:modelValue',
'description': '<p>Event handler called when the value changes.</p>\n',
'type': '[payload: boolean]'
'type': '[payload: string]'
}
]" />
2 changes: 1 addition & 1 deletion packages/radix-vue/src/Menu/MenuRadioGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface MenuRadioGroupProps extends MenuGroupProps {
export type MenuRadioGroupEmits = {
/** Event handler called when the value changes. */
'update:modelValue': [payload: boolean]
'update:modelValue': [payload: string]
}
export const [injectMenuRadioGroupContext, provideMenuRadioGroupContext]
Expand Down

0 comments on commit 49edef6

Please sign in to comment.