Refactor action menu (#7586)
Introduces effects to set the actionMenuEntries
This commit is contained in:
@ -3,9 +3,9 @@ import { createComponentStateV2 } from '@/ui/utilities/state/component-state/uti
|
||||
import { ActionMenuEntry } from '../types/ActionMenuEntry';
|
||||
|
||||
export const actionMenuEntriesComponentState = createComponentStateV2<
|
||||
ActionMenuEntry[]
|
||||
Map<string, ActionMenuEntry>
|
||||
>({
|
||||
key: 'actionMenuEntriesComponentState',
|
||||
defaultValue: [],
|
||||
defaultValue: new Map(),
|
||||
componentInstanceContext: ActionMenuComponentInstanceContext,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user