decord/source/4656_getStyleProp.js
2026-07-20 16:05:17 +00:00

31 lines
817 B
JavaScript

// Module ID: 4656
// Function ID: 40285
// Name: getStyleProp
// Dependencies: []
// Module 4656 (getStyleProp)
function getStyleProp(style, borderRadius) {
if (null != borderRadius) {
if ("" !== borderRadius) {
const _Array = Array;
if (Array.isArray(style)) {
let diff = style.length - 1;
if (diff >= 0) {
const tmp4 = getStyleProp(style[diff], borderRadius);
while (null == tmp4) {
diff = diff - 1;
}
return tmp4;
}
} else if (null != style) {
if ("object" === typeof style) {
return style[borderRadius];
}
}
}
}
}
const _module = require(dependencyMap[0]);
const result = _module.fileFinishedImporting("utils/native/StyleSheetUtils.tsx");
export default { getStyleProp };