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