0.0.1 • Published 4 years ago

react-native-keyboard-handle-view v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

react-native-keyboard-handle-view

repo status

📦 Installation

npm install react-native-keyboard-handle-view
# Or using yarn
yarn add react-native-keyboard-handle-view

🥑 Usage

import React, { useState } from 'react';
import { TextInput } from 'react-native';
import KeyboardHandleView from 'react-native-keyboard-handle-view';

const App: React.FC = () => {
  const [text, setText] = useState<string>('');

  return (
    <KeyboardHandleView>
     <TextInput
       value={text}
       onChangeText={setText}
     />
    </KeyboardHandleView>
  );
};

🍻 Components Included

KeyboardHandleView

import KeyboardHandleView from 'react-native-keyboard-handle-view';

KeyboardDismissView

import { KeyboardDismissView } from 'react-native-keyboard-handle-view';

KeyboardAwareScrollView

Exported from the dependency react-native-keyboard-aware-scroll-view

import { KeyboardAwareScrollView } from 'react-native-keyboard-handle-view';