decord/source/utils/native/StyleSheetUtils.tsx
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

34 lines
871 B
TypeScript

// Module ID: 5208
// Function ID: 5209
// Name: StyleSheetUtils
// Dependencies: [2]
// Module 5208 (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;