one
Version:
One is a React framework for web, iOS, and Android apps.
47 lines (46 loc) • 1.25 kB
JavaScript
const e = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
const {
ConditionallyIgnoredEventHandlers: n
} = require("react-native/Libraries/NativeComponent/ViewConfigIgnore");
let t = "OneNativeMenu";
const i = {
uiViewClassName: "OneNativeMenu",
directEventTypes: {
topNativeMenuAction: {
registrationName: "onNativeMenuAction"
},
topNativeMenuPrimaryAction: {
registrationName: "onNativeMenuPrimaryAction"
},
topNativeMenuValueChange: {
registrationName: "onNativeMenuValueChange"
},
topNativeMenuPickerChange: {
registrationName: "onNativeMenuPickerChange"
}
},
validAttributes: {
items: true,
triggerLabel: true,
disabled: true,
hasPrimaryAction: true,
menuOrder: true,
menuActionDismissBehavior: true,
presentation: true,
acknowledgedEvent: true,
revision: true,
pickerAcknowledgedEvent: true,
...n({
onNativeMenuAction: true,
onNativeMenuPrimaryAction: true,
onNativeMenuValueChange: true,
onNativeMenuPickerChange: true
})
}
};
var o = e.get(t, () => i);
export {
i as __INTERNAL_VIEW_CONFIG,
o as default
};
//# sourceMappingURL=OneNativeMenuNativeComponent.native.js.map