diff --git a/packages/nitrogen/src/views/kotlin/KotlinHybridViewManager.ts b/packages/nitrogen/src/views/kotlin/KotlinHybridViewManager.ts index 1bf77a777..14a6e30eb 100644 --- a/packages/nitrogen/src/views/kotlin/KotlinHybridViewManager.ts +++ b/packages/nitrogen/src/views/kotlin/KotlinHybridViewManager.ts @@ -26,6 +26,9 @@ import com.facebook.react.uimanager.SimpleViewManager import com.facebook.react.uimanager.StateWrapper import com.facebook.react.uimanager.ThemedReactContext +/** + * Represents the React Native \`ViewManager\` for the "${spec.name}" Nitro HybridView. + */ class ${manager}: SimpleViewManager() { override fun getName(): String { return "${spec.name}" diff --git a/packages/nitrogen/src/views/swift/SwiftHybridViewManager.ts b/packages/nitrogen/src/views/swift/SwiftHybridViewManager.ts index 9149cd4ec..d477185f1 100644 --- a/packages/nitrogen/src/views/swift/SwiftHybridViewManager.ts +++ b/packages/nitrogen/src/views/swift/SwiftHybridViewManager.ts @@ -29,6 +29,9 @@ ${createFileMetadataString(`${component}.mm`)} using namespace facebook; +/** + * Represents the React Native View holder for the Nitro "${spec.name}" HybridView. + */ @interface ${component}: RCTViewComponentView @end diff --git a/packages/react-native-nitro-image/nitrogen/generated/android/kotlin/com/margelo/nitro/image/views/TestViewManager.kt b/packages/react-native-nitro-image/nitrogen/generated/android/kotlin/com/margelo/nitro/image/views/TestViewManager.kt index 9f2d03b8b..a0064d422 100644 --- a/packages/react-native-nitro-image/nitrogen/generated/android/kotlin/com/margelo/nitro/image/views/TestViewManager.kt +++ b/packages/react-native-nitro-image/nitrogen/generated/android/kotlin/com/margelo/nitro/image/views/TestViewManager.kt @@ -14,6 +14,9 @@ import com.facebook.react.uimanager.SimpleViewManager import com.facebook.react.uimanager.StateWrapper import com.facebook.react.uimanager.ThemedReactContext +/** + * Represents the React Native `ViewManager` for the "TestView" Nitro HybridView. + */ class TestViewManager: SimpleViewManager() { override fun getName(): String { return "TestView" diff --git a/packages/react-native-nitro-image/nitrogen/generated/ios/c++/views/TestViewComponent.mm b/packages/react-native-nitro-image/nitrogen/generated/ios/c++/views/TestViewComponent.mm index 7469f49ac..82536b02d 100644 --- a/packages/react-native-nitro-image/nitrogen/generated/ios/c++/views/TestViewComponent.mm +++ b/packages/react-native-nitro-image/nitrogen/generated/ios/c++/views/TestViewComponent.mm @@ -16,6 +16,9 @@ using namespace facebook; +/** + * Represents the React Native View holder for the Nitro "TestView" HybridView. + */ @interface TestViewComponent: RCTViewComponentView @end