Skip to content

Commit 5da51e4

Browse files
blakefcipolleschi
andauthored
Add Fabric Native Component Guide (facebook#4288)
* FNC: Add Fabric Native Component Guide - new screenshots - using package * FNC: CenteredText -> WebView * Fix: links * Fix linter issues * Update images for webview * fix: image heights matching for ios and android * Remove package.json and centertext references * Update intro * Update android guide * Update ios guide * Update native platform * Remove codenames * fix text * Fix linters and sidebar --------- Co-authored-by: Riccardo Cipolleschi <[email protected]>
1 parent 03ed6e3 commit 5da51e4

19 files changed

+990
-66
lines changed

docs/_fabric-native-components.jsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React from "react";
2+
import IOSContent from "./fabric-native-components-ios.md";
3+
import AndroidContent from "./fabric-native-components-android.md";
4+
5+
export function FabricNativeComponentsIOS() {
6+
return <IOSContent />;
7+
}
8+
9+
export function FabricNativeComponentsAndroid() {
10+
return <AndroidContent />;
11+
}

docs/appendix.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
- **Spec** - TypeScript or Flow code that describes the API for a Turbo Native Module or Fabric Native component. Used by **Codegen** to generate boilerplate code.
66

7-
- **Turbo Native Modules** - Native libraries that have no User Interface (UI) for the user. Examples would be persistent storage, notifications, network events. These are accessible to your JavaScript application code as functions and objects.
8-
- **Fabric Native Component** - Native platform views that are available to your application JavaScript code through React Components.
7+
- **Native Modules** - Native libraries that have no User Interface (UI) for the user. Examples would be persistent storage, notifications, network events. These are accessible to your JavaScript application code as functions and objects.
8+
- **Native Component** - Native platform views that are available to your application JavaScript code through React Components.
99

1010
- **Legacy Native Components** - Components which are running on the old React Native architecture.
1111
- **Legacy Native Modules** - Modules which are running on the old React Native architecture.

0 commit comments

Comments
 (0)