UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

15 lines (14 loc) 344 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getRenderPropValue = void 0; var getRenderPropValue = exports.getRenderPropValue = function getRenderPropValue(propValue) { if (!propValue) { return null; } if (typeof propValue === 'function') { return propValue(); } return propValue; };