Skip to content

junhoyeo/react-native-keyboard-handle-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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';

About

🥑 View component which dismisses keyboard when touched and scrolls to focused TextInput

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published