# with-safe-area

> HOC make you can use SafeAreaView to iOS pre-11

Latest version **1.0.0** (published 2017-12-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install with-safe-area
pnpm add with-safe-area
yarn add with-safe-area
bun add with-safe-area
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-12-22 |
| First published | 2017-12-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Rahmat Aligos |
| Maintainers | aligos |

## Links

- npm: https://www.npmjs.com/package/with-safe-area
- Repository: https://github.com/aligos/with-safe-area
- Homepage: https://github.com/aligos/with-safe-area#readme
- Issues: https://github.com/aligos/with-safe-area/issues
- npm.io page: https://npm.io/package/with-safe-area

## Recent versions

- 1.0.0 (latest) — 2017-12-22

## README

# 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>
    );
  }
}
```

---
_Source: https://npm.io/package/with-safe-area · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
