decord/alpha/source/components_native/common/MessageLoadingSpinner.tsx
github-actions 1224ea86fd chore: update source for alpha 348.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
2026-09-26 08:31:33 +00:00

38 lines
1.2 KiB
TypeScript

// Module ID: 8889
// Function ID: 8890
// Name: MessageLoadingSpinner
// Dependencies: [19, 17, 21, 1364, 4531, 576, 5889, 2]
// Exports: default
// Module 8889 (MessageLoadingSpinner)
import nativeDefault from "native" /* 576 */;
import ActivityIndicator_ActivityIndicator from "ActivityIndicator/ActivityIndicator" /* 5889 */;
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;
};