2026-08-05 07:35:12 +00:00
|
|
|
// Module ID: 4798
|
|
|
|
|
// Function ID: 4799
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getStyleProp
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-08-05 07:35:12 +00:00
|
|
|
// Module 4798 (getStyleProp)
|
2026-07-20 16:05:17 +00:00
|
|
|
function getStyleProp(style, borderRadius) {
|
|
|
|
|
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-07-23 10:11:24 +00:00
|
|
|
const result = require("set").fileFinishedImporting("utils/native/StyleSheetUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default { getStyleProp };
|