first commit
This commit is contained in:
13
frontend/node_modules/antd/lib/_util/getRenderPropValue.js
generated
vendored
Normal file
13
frontend/node_modules/antd/lib/_util/getRenderPropValue.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.getRenderPropValue = void 0;
|
||||
const getRenderPropValue = propValue => {
|
||||
if (!propValue) {
|
||||
return null;
|
||||
}
|
||||
return typeof propValue === 'function' ? propValue() : propValue;
|
||||
};
|
||||
exports.getRenderPropValue = getRenderPropValue;
|
||||
Reference in New Issue
Block a user