@univerjs/ui v0.4.2 • Docs
Function: mergeMenuConfigs()
function mergeMenuConfigs<T>(baseConfig, additionalConfig): T
Type Parameters
Type Parameter | Default type |
---|---|
T | MenuConfig |
Parameters
Parameter | Type |
---|---|
baseConfig | T |
additionalConfig | null | Partial <Omit <IMenuItem , | "id" | "subId" | "value$" | "hidden$" | "disabled$" | "activated$" | "icon$" > & { activated : boolean ; disabled : boolean ; hidden : boolean ; }> |
Returns
T
Defined in
packages/ui/src/common/menu-merge-configs.ts:20 (opens in a new tab)