Skip to content

Commit 10db466

Browse files
committed
Add Platform.select for macos
1 parent 7443af6 commit 10db466

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Libraries/Utilities/Platform.macos.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
var Platform = {
1616
OS: 'macos',
17+
select: (obj: Object) => obj.ios,
1718
};
1819

1920
module.exports = Platform;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-macos",
3-
"version": "0.11.0-rc2",
3+
"version": "0.11.0-rc4",
44
"description": "A framework for building native macOS apps using React",
55
"license": "BSD-3-Clause",
66
"repository": {

0 commit comments

Comments
 (0)