20 lines
953 B
JavaScript
20 lines
953 B
JavaScript
define(["require", "exports", "./warn"], function (require, exports, warn_1) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.warnConditionallyRequiredProps = void 0;
|
|
/**
|
|
* Warns when props are required if a condition is met.
|
|
*
|
|
* @public
|
|
* @param componentName - The name of the component being used.
|
|
* @param props - The props passed into the component.
|
|
* @param requiredProps - The name of the props that are required when the condition is met.
|
|
* @param conditionalPropName - The name of the prop that the condition is based on.
|
|
* @param condition - Whether the condition is met.
|
|
*/
|
|
function warnConditionallyRequiredProps(componentName, props, requiredProps, conditionalPropName, condition) {
|
|
|
|
}
|
|
exports.warnConditionallyRequiredProps = warnConditionallyRequiredProps;
|
|
});
|
|
//# sourceMappingURL=warnConditionallyRequiredProps.js.map
|