API Reference / @gtkx/react / config / mergeElementConfigs
Variable: mergeElementConfigs
constmergeElementConfigs: (...maps) =>Record<string,ElementConfig>
Defined in: reconciler/registry.d.ts:97
Merges maps of ElementConfig keyed by GLib type name into one, concatenating each type's behaviors and omitted props in the order the maps are given (an earlier map's behaviors come first), taking the last component and props seen, and marking a type lazy if any map does. Use it to combine an app's element config with its behaviors.
Parameters
maps
...Record<string, ElementConfig<never>>[]
Returns
Record<string, ElementConfig>