34 lines
866 B
TypeScript
34 lines
866 B
TypeScript
// Module ID: 5910
|
|
// Function ID: 5911
|
|
// Name: StyleSheetUtils
|
|
// Dependencies: [2]
|
|
|
|
// Module 5910 (StyleSheetUtils)
|
|
import size from "module_2" /* 2 */;
|
|
|
|
let getStyleProp;
|
|
const obj = { getStyleProp };
|
|
getStyleProp = 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 = size.fileFinishedImporting("utils/native/StyleSheetUtils.tsx");
|
|
|
|
export default obj;
|