https://github.com/numandev1/react-native-keyboardawareview-spacer
it is useful when you use Portal
https://github.com/numandev1/react-native-keyboardawareview-spacer
Last synced: over 1 year ago
JSON representation
it is useful when you use Portal
- Host: GitHub
- URL: https://github.com/numandev1/react-native-keyboardawareview-spacer
- Owner: numandev1
- Created: 2021-04-20T19:46:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-22T07:11:16.000Z (over 5 years ago)
- Last Synced: 2024-04-29T07:22:59.879Z (about 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-native-keyboardawareview-spacer
[](https://www.npmjs.com/package/react-native-keyboardawareview-spacer) [](https://www.npmjs.com/package/react-native-keyboardawareview-spacer.svg)
## Installation
```shell
npm install react-native-keyboardawareview-spacer --save
```
## Usage
```js
import KeyboardAwareViewSpacer from "react-native-keyboardawareview-spacer";
;
```
**Expo Snack Example**
https://snack.expo.io/@nomi9995/react-native-keyboardawareview-spacer
## Props
| **Prop** | **Type** | **Default** | **Description** |
| ------------ | --------- | ----------- | ----------------------------------------------- |
| `extraSpace` | `number` | 0 | Extra space between the keyboard and your View. |
| `disabled` | `boolean` | false | enable or disable. |