UNPKG

473 BTypeScriptView Raw
1import { ISettingsMap } from './warn';
2/**
3 * Warns when two props which are mutually exclusive are both being used.
4 *
5 * @public
6 * @param componentName - The name of the component being used.
7 * @param props - The props passed into the component.
8 * @param exclusiveMap - A map where the key is a parameter, and the value is the other parameter.
9 */
10export declare function warnMutuallyExclusive<P>(componentName: string, props: P, exclusiveMap: ISettingsMap<P>): void;