0.0.1 • Published 4 years ago
react-native-keyboard-handle-view v0.0.1
react-native-keyboard-handle-view
📦 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';
0.0.1
4 years ago