one
Version:
One is a React framework for web, iOS, and Android apps.
57 lines (56 loc) • 1.75 kB
JavaScript
const e = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
const {
ConditionallyIgnoredEventHandlers: t
} = require("react-native/Libraries/NativeComponent/ViewConfigIgnore");
let n = "OneNativeSheet";
const i = {
uiViewClassName: "OneNativeSheet",
directEventTypes: {
topNativeSheetIsPresentedChange: {
registrationName: "onNativeSheetIsPresentedChange"
},
topNativeSheetDismiss: {
registrationName: "onNativeSheetDismiss"
},
topNativeSheetDidDismiss: {
registrationName: "onNativeSheetDidDismiss"
},
topNativeSheetDetentChange: {
registrationName: "onNativeSheetDetentChange"
}
},
validAttributes: {
isPresented: true,
acknowledgedEvent: true,
revision: true,
presentationId: true,
detents: true,
fitToContents: true,
selectedDetentType: true,
selectedDetentValue: true,
acknowledgedDetentEvent: true,
detentRevision: true,
interactiveDismissDisabled: true,
presentationDragIndicator: true,
presentationBackground: require("react-native/Libraries/Components/View/ReactNativeStyleAttributes").colorAttribute,
presentationBackgroundInteraction: true,
presentationBackgroundInteractionDetentType: true,
presentationBackgroundInteractionDetentValue: true,
presentationContentInteraction: true,
presentationSizing: true,
presentation: true,
colorScheme: true,
...t({
onNativeSheetIsPresentedChange: true,
onNativeSheetDismiss: true,
onNativeSheetDidDismiss: true,
onNativeSheetDetentChange: true
})
}
};
var a = e.get(n, () => i);
export {
i as __INTERNAL_VIEW_CONFIG,
a as default
};
//# sourceMappingURL=OneNativeSheetNativeComponent.mjs.map