Skip to main content

Module export

Module export 

Source
Expand description

Shared Intermediate Representation (IR) for bi-directional React Native <-> NV codegen.

Structs§

CommandSpec
Imperative native command declared via codegenNativeCommands.
ComponentOptions
Optional second-argument metadata passed to codegenNativeComponent(name, options).
EventSpec
Component event handler specification (DirectEventHandler / BubblingEventHandler).
ExportComposeOutput
Output bundle for export_compose: typed Kotlin @Composable wrapping io.github.nativeview.compose.NvSurface.
ExportFlutterOutput
Output bundle for export_flutter: typed Dart StatefulWidget using dart:ffi
ExportNitroUiOutput
Output bundle for export_nitro_ui (margelo/nitro-ui bare Nitro view module).
ExportRnOutput
Output bundle for export_rn (NV -> React Native Fabric NativeComponent).
ExportSwiftUiOutput
Output bundle for export_swiftui: typed SwiftUI View wrapping NativeViewSwiftUI.NvSurfaceRepresentable.
ExportWebComponentOutput
Output bundle for export_web_component: Light-DOM Custom Element <nv-...> + .d.ts + typed React .tsx.
GeneratedFile
A single generated artifact with its relative output path and full UTF-8 source.
ImportRnOutput
Output bundle for Direction 1 (import_rn: RN -> NV).
MultiTargetExportOutput
Unified multi-target export bundle returned by crate::export_target / crate::export_all_targets.
ObjectField
Named field inside a structured object prop or event payload.
ParamSpec
Parameter for a native command or TurboModule method.
PropSpec
Component prop specification.
RnComponentSpec
Parsed React Native Fabric *NativeComponent.{ts,js} specification.
TurboModuleMethod
Parsed method on a React Native TurboModule Spec interface.
TurboModuleSpec
Parsed React Native Native*.{ts,js} TurboModule specification.

Enums§

DefaultValue
Typed literal default value extracted from WithDefault<T, default>.
EventBubbling
React Native Fabric event dispatch semantics.
ExportTarget
Target framework for multi-target export from #[nativeview_hybrid_spec] / #[nv_hybrid_view].
ParsedRnSpec
Result of parsing any React Native Codegen spec file.
PropType
Typed value representation shared by RN Fabric props, event payloads, commands, and TurboModules.