Skip to content

Commit bdfce3f

Browse files
committed
docs: changes after self-CR
1 parent f5dfdc6 commit bdfce3f

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/docs/docs/api-reference/react-native-brownfield/java.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Creates a React Native view with a given module name. It automatically uses an i
170170

171171
Returns: `FrameLayout` - A view containing the React Native component.
172172

173-
Root initial props can be passed through the `launchOptions` argument of `createView`. That `Bundle` is forwarded as the root view's initial properties - the same concept as [initial props on `ReactRootView`](https://reactnative.dev/docs/communication-android#passing-properties-from-native-to-react-native).
173+
Root initial props can be passed through the `launchOptions` argument. That `Bundle` is forwarded as the root view's initial properties - the same concept as [initial props on `ReactRootView`](https://reactnative.dev/docs/communication-android#passing-properties-from-native-to-react-native).
174174

175175
**Examples:**
176176

docs/docs/docs/api-reference/react-native-brownfield/kotlin.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Creates a React Native view with a given module name. It automatically uses an i
149149

150150
Returns: `FrameLayout` - A view containing the React Native component.
151151

152-
Root initial props can be passed through the `launchOptions` argument of `createView`. That `Bundle` is forwarded as the root view's initial properties - the same concept as [initial props on `ReactRootView`](https://reactnative.dev/docs/communication-android#passing-properties-from-native-to-react-native).
152+
Root initial props can be passed through the `launchOptions` argument. That `Bundle` is forwarded as the root view's initial properties - the same concept as [initial props on `ReactRootView`](https://reactnative.dev/docs/communication-android#passing-properties-from-native-to-react-native).
153153

154154
**Examples:**
155155

docs/docs/docs/api-reference/react-native-brownfield/objective-c.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ Starts React Native, produces an instance of React Native. You can use it to ini
4747
| ---------------- | -------- | --------------- | ------------------------------------------------- |
4848
| `onBundleLoaded` | No | `void(^)(void)` | Callback invoked after JS bundle is fully loaded. |
4949

50-
Root initial props can be passed through the `initialProps` argument of `createView`. That `NSDictionary` is forwarded as the root view's initial properties - the same concept as [initial props on `ReactRootView`](https://reactnative.dev/docs/communication-android#passing-properties-from-native-to-react-native).
51-
5250
**Examples:**
5351

5452
```objc
@@ -71,6 +69,8 @@ Creates a React Native view for the specified module name.
7169
| `initialProps` | No | `NSDictionary` | Initial properties to be passed to React Native component. |
7270
| `launchOptions` | No | `NSDictionary` | Launch options, typically passed from AppDelegate. |
7371
72+
Root initial props can be passed through the `initialProps` argument. That `NSDictionary` is forwarded as the root view's initial properties - the same concept as [initial props on `RCTRootView`](https://reactnative.dev/docs/communication-ios#passing-properties-from-native-to-react-native).
73+
7474
**Examples:**
7575
7676
```objc

docs/docs/docs/api-reference/react-native-brownfield/swift.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ Starts React Native. You can use it to initialize React Native in your app.
4747
| ---------------- | -------- | --------------- | ------------------------------------------------- |
4848
| `onBundleLoaded` | No | `(() -> Void)?` | Callback invoked after JS bundle is fully loaded. |
4949

50-
Root initial props can be passed through the `initialProps` argument of `view`. That `[AnyHashable: Any]?` is forwarded as the root view's initial properties - the same concept as [initial props on `ReactRootView`](https://reactnative.dev/docs/communication-android#passing-properties-from-native-to-react-native).
51-
5250
**Examples:**
5351

5452
```swift
@@ -71,6 +69,8 @@ Creates a React Native view for the specified module name.
7169
| `initialProps` | No | `[AnyHashable: Any]?` | Initial properties to be passed to React Native component. |
7270
| `launchOptions` | No | `[AnyHashable: Any]?` | Launch options, typically passed from AppDelegate. |
7371

72+
Root initial props can be passed through the `initialProps` argument. That `[AnyHashable: Any]?` is forwarded as the root view's initial properties - the same concept as [initial props on `RCTRootView`](https://reactnative.dev/docs/communication-ios#passing-properties-from-native-to-react-native).
73+
7474
**Examples:**
7575

7676
```swift

0 commit comments

Comments
 (0)