@uifabric/utilities
Version:
Fluent UI React utilities for building components.
11 lines (10 loc) • 549 B
TypeScript
import { ICustomizerProps } from './Customizer.types';
import { 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;