Skip to content

Commit

Permalink
[add] SafeAreaView component
Browse files Browse the repository at this point in the history
  • Loading branch information
necolas committed Dec 6, 2017
1 parent f96d7b8 commit 034108a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/components/SafeAreaView/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SafeAreaView
* @flow
*/

import View from '../View';
export default View;
3 changes: 3 additions & 0 deletions src/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import Modal from './components/Modal';
import Picker from './components/Picker';
import ProgressBar from './components/ProgressBar';
import RefreshControl from './components/RefreshControl';
import SafeAreaView from './components/SafeAreaView';
import ScrollView from './components/ScrollView';
import SectionList from './components/SectionList';
import Slider from './components/Slider';
Expand Down Expand Up @@ -101,6 +102,7 @@ export {
Picker,
ProgressBar,
RefreshControl,
SafeAreaView,
ScrollView,
SectionList,
Slider,
Expand Down Expand Up @@ -168,6 +170,7 @@ const ReactNative = {
Picker,
ProgressBar,
RefreshControl,
SafeAreaView,
ScrollView,
SectionList,
Slider,
Expand Down

0 comments on commit 034108a

Please sign in to comment.