Seamless and consistent React Native keyboard avoiding view for iOS and Android
npm install keyboard-avoid-experienceReact Native Seamless and animated keyboard avoiding view for iOS and Android.
Works consistently with ScrollView, FlatList, SectionList, and any other React Native components.
``sh`
npm install react-native-keyboard-experience
To use the CustomKeyboardAvoidingView, import it into your component and wrap your content with it. You can customize the keyboard padding if needed.
`typescript
import CustomKeyboardAvoidingView from 'react-native-keyboard-experience';
const App = () => {
return (
);
};
export default App;
`
- children: The content to be displayed inside the keyboard avoiding view (required).style
- : Custom styles for the container (optional).keyboardPadding
- : Additional padding to be applied when the keyboard is shown (default is -50 ios and -250 android).duration
- : The duration of the animation (default is 250`).
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
---
Made with create-react-native-library