11 lines
559 B
TypeScript
11 lines
559 B
TypeScript
|
import type { ICustomizerProps } from './Customizer.types';
|
||
|
import type { ICustomizerContext } from './CustomizerContext';
|
||
|
/**
|
||
|
* Merge props and customizations giving priority to props over context.
|
||
|
* NOTE: This function will always perform multiple merge operations. Use with caution.
|
||
|
* @param props - New settings to merge in.
|
||
|
* @param parentContext - Context containing current settings.
|
||
|
* @returns Merged customizations.
|
||
|
*/
|
||
|
export declare function mergeCustomizations(props: ICustomizerProps, parentContext: ICustomizerContext): ICustomizerContext;
|