decord/alpha/source/utils/native/StyleSheetUtils.tsx

35 lines
866 B
TypeScript
Raw Normal View History

2026-10-12 06:59:38 +00:00
// Module ID: 6186
// Function ID: 6187
// Name: StyleSheetUtils
2026-07-23 10:11:24 +00:00
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
2026-10-12 06:59:38 +00:00
// Module 6186 (StyleSheetUtils)
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
2026-10-03 08:58:59 +00:00
let getStyleProp;
const obj = { getStyleProp };
getStyleProp = function getStyleProp(style, borderRadius) {
2026-07-20 16:05:17 +00:00
if (null != borderRadius) {
if ("" !== borderRadius) {
const _Array = Array;
if (Array.isArray(style)) {
let diff = style.length - 1;
2026-07-29 08:29:29 +00:00
if (0 <= diff) {
const tmp5 = getStyleProp(style[diff], borderRadius);
while (null == tmp5) {
2026-07-20 16:05:17 +00:00
diff = diff - 1;
}
2026-07-29 08:29:29 +00:00
return tmp5;
2026-07-20 16:05:17 +00:00
}
} else if (null != style) {
2026-08-04 21:03:28 +00:00
if (typeof style === "object") {
2026-07-20 16:05:17 +00:00
return style[borderRadius];
}
}
}
}
2026-10-03 08:58:59 +00:00
};
const result = size.fileFinishedImporting("utils/native/StyleSheetUtils.tsx");
2026-07-20 16:05:17 +00:00
export default obj;