Skip to content

Commit 98abee7

Browse files
authored
fix: WebViewNativeComponent typo extension to ts (facebook#4317)
1 parent e7e479a commit 98abee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/the-new-architecture/using-codegen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ You can add this snippet to your app and customize the various fields:
5151
When **Codegen** runs, it searches among all the dependencies of the app, looking for JS files that respects some specific conventions, and it generates the required code:
5252

5353
- Turbo Native Modules requires that the spec files are prefixed with `Native`. For example, `NativeLocalStorage.ts` is a valid name for a spec file.
54-
- Native Fabric Components requires that the spec files are suffixed with `NativeComponent`. For example, `WebViewNativeComponent.tx` is a valid name for a spec file.
54+
- Native Fabric Components requires that the spec files are suffixed with `NativeComponent`. For example, `WebViewNativeComponent.ts` is a valid name for a spec file.
5555

5656
## Running **Codegen**
5757

0 commit comments

Comments
 (0)