Skip to content

Commit bffedff

Browse files
authored
docs: fix minor grammar (facebook#4351)
fix a few spelling mistakes
1 parent e363639 commit bffedff

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/fabric-native-components.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ export default (codegenNativeComponent<NativeProps>(
107107
</TabItem>
108108
</Tabs>
109109

110-
This specification is composed of three main parts, exluding the imports:
110+
This specification is composed of three main parts, excluding the imports:
111111

112112
- The `WebViewScriptLoadedEvent` is a supporting data type for the data the event needs to pass from native to JavaScript.
113-
- The `NativeProps` which is a definition of the props that we can set on the component.
114-
- The `codegenNativeComponent` statement that allows us to codegenerate the code for the custom component and that defines a name for the component used to match the native implementations.
113+
- The `NativeProps` is a definition of the props that we can set on the component.
114+
- The `codegenNativeComponent` statement allows us to codegenerate the code for the custom component and that defines a name for the component used to match the native implementations.
115115

116116
As with Native Modules, you can have multiple specification files in the `specs/` directory. For more information about the types you can use, and the platform types these map to, see the [appendix](appendix.md#codegen-typings).
117117

website/versioned_docs/version-0.76/fabric-native-components.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ export default (codegenNativeComponent<NativeProps>(
106106
</TabItem>
107107
</Tabs>
108108

109-
This specification is composed of three main parts, exluding the imports:
109+
This specification is composed of three main parts, excluding the imports:
110110

111111
- The `WebViewScriptLoadedEvent` is a supporting data type for the data the event needs to pass from native to JavaScript.
112-
- The `NativeProps` which is a definitions of the props that we can set on the component.
113-
- The `codegenNativeComponent` statement that allows to codegenerate the code for the custom component and that defines a name for the component used to match the native implementations.
112+
- The `NativeProps` is a definitions of the props that we can set on the component.
113+
- The `codegenNativeComponent` statement allows us to codegenerate the code for the custom component and that defines a name for the component used to match the native implementations.
114114

115115
As with Native Modules, you can have multiple specification files in the `specs/` directory. For more information about the types you can use, and the platform types these map to see the [appendix](appendix.md#codegen-typings).
116116

@@ -139,7 +139,7 @@ With everything wired up for Codegen, we need to prepare our native code to hook
139139

140140
## 2. Building your Native Code
141141

142-
Now it's time to write the native platform code so that when React requires to render a view, te platform can create the right native view and can render it on screen.
142+
Now it's time to write the native platform code so that when React requires to render a view, the platform can create the right native view and can render it on screen.
143143

144144
You should work through both the Android and iOS platforms.
145145

0 commit comments

Comments
 (0)