Files
video-gen/video-gen-admin/node_modules/antd/es/_util/getRenderPropValue.js
T
2026-05-25 17:08:18 +08:00

6 lines
160 B
JavaScript

export const getRenderPropValue = propValue => {
if (!propValue) {
return null;
}
return typeof propValue === 'function' ? propValue() : propValue;
};