We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd583cb commit c70ed8cCopy full SHA for c70ed8c
packages/ui-extender/src/actions/menuAction/menuAction.tsx
@@ -242,7 +242,7 @@ type MenuState = {
242
isOpen: boolean,
243
isInMenu: boolean,
244
isSubMenu: boolean,
245
- subMenuContext: MenuContext,
+ subMenuContext?: MenuContext,
246
loadingItems: string[],
247
loadedItems: string[]
248
}
@@ -378,7 +378,7 @@ export type MenuActionComponentProps = {
378
/**
379
* Helps determine if action is visible
380
*/
381
- visibilityPredicate: (state: MenuState) => boolean
+ visibilityPredicate?: (state: MenuState) => boolean
382
383
384
const MenuActionComponent = (props: MenuActionComponentProps) => {
0 commit comments