@univerjs/ui v0.5.0-beta.1 • 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
submodules/univer/packages/ui/src/common/menu-merge-configs.ts:20