Skip to content

crazycodeboy/react-native-safe-area-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-safe-area-plus

A flexible way to handle safe area, also works on Android and iOS.

release PRs Welcome NPM version License MIT

Content

Installation

  • 1.Run npm i react-native-safe-area-plus --save
    • or yarn add react-native-safe-area-plus
  • 2.import SafeAreaViewPlus from 'react-native-safe-area-plus'

Getting started

Add react-native-safe-area-plus to your js file.

import SafeAreaViewPlus from 'react-native-safe-area-plus'

Inside your component's render method, use Toast:

 render() {
     return (
         <SafeAreaViewPlus>
         ...
         </SafeAreaViewPlus>
     );
 }

Contribution

Issues are welcome. Please add a screenshot of bug and code snippet. Quickest way to solve issue is to reproduce it on one of the examples.

Pull requests are welcome. If you want to change API or making something big better to create issue and discuss it first.


MIT Licensed

About

A flexible way to handle safe area, also works on Android and iOS

Resources

Stars

Watchers

Forks

Packages

No packages published