Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Jan 15, 2025
1 parent 207e254 commit 2c19ee7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/nitrogen/src/views/kotlin/KotlinHybridViewManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<View>() {
override fun getName(): String {
return "${spec.name}"
Expand Down
3 changes: 3 additions & 0 deletions packages/nitrogen/src/views/swift/SwiftHybridViewManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<View>() {
override fun getName(): String {
return "TestView"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

using namespace facebook;

/**
* Represents the React Native View holder for the Nitro "TestView" HybridView.
*/
@interface TestViewComponent: RCTViewComponentView
@end

Expand Down

0 comments on commit 2c19ee7

Please sign in to comment.