decord/source/utils/native/StyleSheetUtils.tsx
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

34 lines
871 B
TypeScript

// Module ID: 5205
// Function ID: 5206
// Name: StyleSheetUtils
// Dependencies: [2]
// Module 5205 (StyleSheetUtils)
import size from "module_2" /* 2 */;
const obj = { getStyleProp: null };
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];
}
}
}
}
}
obj.getStyleProp = getStyleProp;
const result = size.fileFinishedImporting("utils/native/StyleSheetUtils.tsx");
export default obj;