Skip to content

Commit 5ae4245

Browse files
committed
Correct section title
1 parent 2bf2be8 commit 5ae4245

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/new-architecture-library-intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ While we know that all deprecations are a hassle, this guide is intended to help
194194
3. Migrating off `setNativeProps`
195195
4. Move the call to `requireNativeComponent` to a separate file
196196
5. Migrating off `dispatchViewManagerCommand`
197-
6. Using `codegenNativeComponent`
197+
6. Creating NativeCommands with `codegenNativeCommands`
198198
199199
### Migrating `findNodeHandle` / getting a `HostComponent`
200200
@@ -506,7 +506,7 @@ class MyComponent extends React.Component<Props> {
506506
}
507507
```
508508

509-
**Creating the NativeCommands with `codegenNativeCommands`**
509+
**Creating NativeCommands with `codegenNativeCommands`**
510510

511511
```ts title="MyCustomMapNativeComponent.js"
512512
import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';

website/versioned_docs/version-0.68/new-architecture-library-intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ While we know that all deprecations are a hassle, this guide is intended to help
145145
3. Migrating off `setNativeProps`
146146
4. Move the call to `requireNativeComponent` to a separate file
147147
5. Migrating off `dispatchViewManagerCommand`
148-
6. Using `codegenNativeComponent`
148+
6. Creating NativeCommands with `codegenNativeCommands`
149149
150150
### Migrating `findNodeHandle` / getting a `HostComponent`
151151
@@ -457,7 +457,7 @@ class MyComponent extends React.Component<Props> {
457457
}
458458
```
459459

460-
**Creating the NativeCommands with `codegenNativeCommands`**
460+
**Creating NativeCommands with `codegenNativeCommands`**
461461

462462
```ts title="MyCustomMapNativeComponent.js"
463463
import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';

website/versioned_docs/version-0.69/new-architecture-library-intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ While we know that all deprecations are a hassle, this guide is intended to help
194194
3. Migrating off `setNativeProps`
195195
4. Move the call to `requireNativeComponent` to a separate file
196196
5. Migrating off `dispatchViewManagerCommand`
197-
6. Using `codegenNativeComponent`
197+
6. Creating NativeCommands with `codegenNativeCommands`
198198
199199
### Migrating `findNodeHandle` / getting a `HostComponent`
200200
@@ -506,7 +506,7 @@ class MyComponent extends React.Component<Props> {
506506
}
507507
```
508508

509-
**Creating the NativeCommands with `codegenNativeCommands`**
509+
**Creating NativeCommands with `codegenNativeCommands`**
510510

511511
```ts title="MyCustomMapNativeComponent.js"
512512
import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';

0 commit comments

Comments
 (0)