Skip to content

Commit ce6d3a5

Browse files
committed
feat(SafeAreaView): map SafeAreaView to plain View
React Native 0.50 introduces the SafeAreaView, which is iOS-specific and particularly useful for iPhone X. We do the same for Windows as is done for Android, mapping it to a plain View component.
1 parent cc2a6fa commit ce6d3a5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*
9+
* @providesModule SafeAreaView
10+
* @flow
11+
*/
12+
'use strict';
13+
14+
module.exports = require('View');

0 commit comments

Comments
 (0)