one
Version:
One is a React framework for web, iOS, and Android apps.
50 lines (49 loc) • 1.4 kB
JavaScript
var i = Object.defineProperty;
var r = Object.getOwnPropertyDescriptor;
var s = Object.getOwnPropertyNames;
var d = Object.prototype.hasOwnProperty;
var u = (t, e) => {
for (var o in e)
i(t, o, { get: e[o], enumerable: true });
};
var D = (t, e, o, l) => {
if (e && typeof e === "object" || typeof e === "function") {
for (let a of s(e))
if (!d.call(t, a) && a !== o)
i(t, a, { get: () => e[a], enumerable: !(l = r(e, a)) || l.enumerable });
}
return t;
};
var f = (t) => D(i({}, "__esModule", { value: true }), t);
var b = {};
u(b, {
__INTERNAL_VIEW_CONFIG: () => n,
default: () => h
});
module.exports = f(b);
const g = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
const {
ConditionallyIgnoredEventHandlers: v
} = require("react-native/Libraries/NativeComponent/ViewConfigIgnore");
let W = "OneNativeAddPassToWalletButton";
const n = {
uiViewClassName: "OneNativeAddPassToWalletButton",
directEventTypes: {
topNativeSDKEvent: {
registrationName: "onNativeSDKEvent"
},
topNativeAddPassToWalletButtonPress: {
registrationName: "onNativeAddPassToWalletButtonPress"
}
},
validAttributes: {
addPassToWalletButtonStyle: true,
disabled: true,
swiftStyle: true,
...v({
onNativeSDKEvent: true,
onNativeAddPassToWalletButtonPress: true
})
}
};
var h = g.get(W, () => n);