Skip to content

make SafeAreaView can be used in iOS version pre-11 (eg: iOS 9 and iOS 10)

Notifications You must be signed in to change notification settings

aligos/with-safe-area

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

with-safe-area

make SafeAreaView can be used in iOS version pre-11 (eg: iOS 9 and iOS 10)

how to use

$ yarn add with-safe-area

example

// @flow
import * as React from 'react';
import WithSafeArea from 'with-safe-area';
import AppRouter from './AppNavigator';

export default class App extends React.Component {
  render() {
    return (
      <WithSafeArea>
        <AppRouter />
      </WithSafeArea>
    );
  }
}

About

make SafeAreaView can be used in iOS version pre-11 (eg: iOS 9 and iOS 10)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published