UNPKG

549 BTypeScriptView Raw
1import { ICustomizerProps } from './Customizer.types';
2import { ICustomizerContext } from './CustomizerContext';
3/**
4 * Merge props and customizations giving priority to props over context.
5 * NOTE: This function will always perform multiple merge operations. Use with caution.
6 * @param props - New settings to merge in.
7 * @param parentContext - Context containing current settings.
8 * @returns Merged customizations.
9 */
10export declare function mergeCustomizations(props: ICustomizerProps, parentContext: ICustomizerContext): ICustomizerContext;