Skip to content

Commit 5699465

Browse files
fix: omit disabledKeys from MenuSection (#9997)
Co-authored-by: Robert Snow <rsnow@adobe.com>
1 parent 6f664fe commit 5699465

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/react-aria-components/src

packages/react-aria-components/src/Menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ function MenuInner<T extends object>({props, collection, menuRef: ref}: MenuInne
301301
);
302302
}
303303

304-
export interface MenuSectionProps<T> extends SectionProps<T>, MultipleSelection, DOMRenderProps<'section', undefined> {
304+
export interface MenuSectionProps<T> extends SectionProps<T>, Omit<MultipleSelection, 'disabledKeys'>, DOMRenderProps<'section', undefined> {
305305
/**
306306
* The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element.
307307
* @default 'react-aria-MenuSection'

0 commit comments

Comments
 (0)