Skip to content

Commit df9a2c6

Browse files
committed
docs: update bundlePath description
1 parent a99f710 commit df9a2c6

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ A singleton that keeps an instance of `ReactNativeBrownfield` object.
3030

3131
| Property | Type | Default | Description |
3232
| ------------------ | ---------- | --------------- | --------------------------------------------------------- |
33-
| `entryFile` | `NSString` | `index` | Path to JavaScript root. |
33+
| `entryFile` | `NSString` | `index` | Path to JavaScript entry file in development. |
3434
| `fallbackResource` | `NSString` | `nil` | Path to bundle fallback resource. |
35-
| `bundlePath` | `NSString` | `main.jsbundle` | Path to bundle fallback resource. |
35+
| `bundlePath` | `NSString` | `main.jsbundle` | Path to JavaScript bundle file. |
3636
| `bundle` | `NSBundle` | `Bundle.main` | Bundle instance to lookup the JavaScript bundle resource. |
37+
| `bundleURLOverride` | `NSURL * _Nullable (^)(void)` | `nil` | Dynamic bundle URL provider called on every bundle load. When set, overrides default behavior. |
3738

3839
---
3940

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ ReactNativeBrownfield.shared
3030

3131
| Property | Type | Default | Description |
3232
| ------------------- | ------------------ | --------------- | --------------------------------------------------------------------------------------------- |
33-
| `entryFile` | `String` | `index` | Path to JavaScript root. |
33+
| `entryFile` | `String` | `index` | Path to JavaScript entry file in development. |
3434
| `fallbackResource` | `String?` | `nil` | Path to bundle fallback resource. |
35-
| `bundlePath` | `String` | `main.jsbundle` | Path to bundle fallback resource. |
35+
| `bundlePath` | `String` | `main.jsbundle` | Path to JavaScript bundle file. |
3636
| `bundle` | `Bundle` | `Bundle.main` | Bundle instance to lookup the JavaScript bundle resource. |
3737
| `bundleURLOverride` | `(() -> URL?)?` | `nil` | Dynamic bundle URL provider called on every bundle load. When set, overrides default behavior. |
3838

0 commit comments

Comments
 (0)