decord/source/utils/native/StyleSheetUtils.tsx
2026-07-21 22:01:30 +00:00

31 lines
817 B
TypeScript

// Module ID: 4657
// Function ID: 40333
// Name: getStyleProp
// Dependencies: []
// Module 4657 (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 };