31 lines
804 B
JavaScript
31 lines
804 B
JavaScript
// Metro module 3936 (f3937).
|
|
import { Platform } from "react-native";
|
|
import * as _Module65 from "./Module65";
|
|
import { get } from "./Module65";
|
|
Platform;
|
|
export function getHostComponent(a0, c13749_0) {
|
|
if (_Module65 == null) {
|
|
throw new Error("NativeComponentRegistry is not available on android!");
|
|
}
|
|
return get(a0, () => {
|
|
const r6 = c13749_0();
|
|
const validAttributes = r6.validAttributes;
|
|
(function wrapValidAttributes(a0) {
|
|
for (const item of Object.keys(a0)) {
|
|
a0[item] = {
|
|
diff: (a0, a1) => a0 !== a1,
|
|
process: (a0) => a0
|
|
};
|
|
}
|
|
return a0;
|
|
})(validAttributes);
|
|
r6.validAttributes = validAttributes;
|
|
return r6;
|
|
});
|
|
}
|
|
export function callback(a0) {
|
|
return typeof a0 === "function" ? {
|
|
f: a0
|
|
} : a0;
|
|
}
|