decord/stable/source/components_native/common/MessageLoadingSpinner.tsx
github-actions 57c2214117 chore: update source for stable 347.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-29 21:26:22 +00:00

38 lines
1.2 KiB
TypeScript

// Module ID: 9732
// Function ID: 9733
// Name: MessageLoadingSpinner
// Dependencies: [19, 17, 21, 1364, 4489, 576, 5826, 2]
// Exports: default
// Module 9732 (MessageLoadingSpinner)
import nativeDefault from "native" /* 576 */;
import ActivityIndicator_ActivityIndicator from "ActivityIndicator/ActivityIndicator" /* 5826 */;
import noop from "module_19" /* 19 */;
require = fn;
const jsx = fn(21).jsx;
const PlatformUtils = fn(1364);
let result = null;
if (!PlatformUtils.isAndroid()) {
result = fn(17).requireNativeComponent("DCDMessageLoadingSpinner");
}
const size = fn(2);
const result1 = size.fileFinishedImporting("components_native/common/MessageLoadingSpinner.tsx");
export default function MessageLoadingSpinner(color) {
color = color.color;
if (color == null) {
color = obj.useToken(nativeDefault.colors.BACKGROUND_BRAND);
}
if (null != result) {
const obj2 = {};
const merged = Object.assign(color);
obj2.color = color;
let tmp8 = <tmp3 />;
} else {
const obj3 = { animating: color.animate };
const merged1 = Object.assign(color);
tmp8 = jsx(ActivityIndicator_ActivityIndicator.ActivityIndicator, { animating: color.animate });
}
return tmp8;
};