decord/stable/source/modules/svg/native/getReactNativeSVGImageSource.tsx

25 lines
628 B
TypeScript
Raw Permalink Normal View History

2026-10-06 22:12:49 +00:00
// Module ID: 12607
// Function ID: 12608
// Name: getReactNativeSVGImageSource
2026-10-06 22:12:49 +00:00
// Dependencies: [1370, 2]
// Exports: default
2026-10-06 22:12:49 +00:00
// Module 12607 (getReactNativeSVGImageSource)
import PlatformUtils from "PlatformUtils" /* 1370 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/svg/native/getReactNativeSVGImageSource.tsx");
export default function getReactNativeSVGImageSource(arg0) {
let first = arg0;
2026-10-06 22:12:49 +00:00
const obj = PlatformUtils;
if (obj.isAndroid()) {
const _Array = Array;
first = arg0;
if (Array.isArray(arg0)) {
first = arg0[0];
}
}
return first;
};