one
Version:
One is a React framework for web, iOS, and Android apps.
64 lines (63 loc) • 1.75 kB
JavaScript
var o = Object.defineProperty;
var l = Object.getOwnPropertyDescriptor;
var s = Object.getOwnPropertyNames;
var u = Object.prototype.hasOwnProperty;
var d = (t, e) => {
for (var a in e)
o(t, a, { get: e[a], enumerable: true });
};
var g = (t, e, a, n) => {
if (e && typeof e === "object" || typeof e === "function") {
for (let i of s(e))
if (!u.call(t, i) && i !== a)
o(t, i, { get: () => e[i], enumerable: !(n = l(e, i)) || n.enumerable });
}
return t;
};
var b = (t) => g(o({}, "__esModule", { value: true }), t);
var h = {};
d(h, {
__INTERNAL_VIEW_CONFIG: () => r,
default: () => f
});
module.exports = b(h);
const c = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
const {
ConditionallyIgnoredEventHandlers: v
} = require("react-native/Libraries/NativeComponent/ViewConfigIgnore");
let D = "OneNativeTabs";
const r = {
uiViewClassName: "OneNativeTabs",
directEventTypes: {
topNativeTabsSelectionChange: {
registrationName: "onNativeTabsSelectionChange"
},
topNativeTabsAction: {
registrationName: "onNativeTabsAction"
},
topNativeTabsCustomizationChange: {
registrationName: "onNativeTabsCustomizationChange"
},
topNativeSDKEvent: {
registrationName: "onNativeSDKEvent"
}
},
validAttributes: {
selection: true,
tabViewStyle: true,
tabBarVisibility: true,
customization: true,
customizable: true,
bottomAccessoryEnabled: true,
acknowledgedEvent: true,
revision: true,
swiftStyle: true,
...v({
onNativeTabsSelectionChange: true,
onNativeTabsAction: true,
onNativeTabsCustomizationChange: true,
onNativeSDKEvent: true
})
}
};
var f = c.get(D, () => r);