Skip to content

Commit a995877

Browse files
Update platform.md (facebook#4554)
Co-authored-by: Riccardo Cipolleschi <[email protected]>
1 parent 2bf6465 commit a995877

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

website/versioned_docs/version-0.78/platform.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,13 @@ Select method returns the most fitting value for the platform you are currently
191191

192192
The `config` parameter is an object with the following keys:
193193

194-
- `android` (any)
195-
- `ios` (any)
196-
- `native` (any)
197-
- `default` (any)
194+
- `android`
195+
- `ios`
196+
- `macos` (only applicable when using [react-native-macos](https://github.com/microsoft/react-native-macos))
197+
- `native` (fallback for all platforms except for `web`)
198+
- `web` (only applicable when using [react-native-web](https://github.com/necolas/react-native-web))
199+
- `windows` (only applicable when using [react-native-windows](https://github.com/microsoft/react-native-windows))
200+
- `default` (fallback for all platforms)
198201

199202
**Example usage:**
200203

0 commit comments

Comments
 (0)