decord/source/utils/native/StyleSheetUtils.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

32 lines
802 B
TypeScript

// Module ID: 5085
// Function ID: 5086
// Name: getStyleProp
// Dependencies: [2]
// Module 5085 (getStyleProp)
import set from "set" /* 2 */;
function getStyleProp(style, borderRadius) {
if (null != borderRadius) {
if ("" !== borderRadius) {
const _Array = Array;
if (Array.isArray(style)) {
let diff = style.length - 1;
if (0 <= diff) {
const tmp5 = getStyleProp(style[diff], borderRadius);
while (null == tmp5) {
diff = diff - 1;
}
return tmp5;
}
} else if (null != style) {
if (typeof style === "object") {
return style[borderRadius];
}
}
}
}
}
const result = set.fileFinishedImporting("utils/native/StyleSheetUtils.tsx");
export default { getStyleProp };