Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

React-Native-Keyboard-Sticky-View

React Native keyboard sticky view with animation

Demo

import React from 'react';
import { TouchableOpacity, StyleSheet, View, TextInput, Text } from 'react-native';
import KeyboardStickyView from 'react-native-keyboard-sticky-view';

export default class KeyboardStickyViewExample extends React.Component {
  render() {
    return (
      <View style={styles.container}>
        <View style={styles.textinputWrapper}>
          <TextInput />
        </View>
        <KeyboardStickyView
          onKeyboardShow={f => f}
          onKeyboardHide={f => f}
        >
          { (state, props) => (
            <TouchableOpacity style={styles.btn}>
              <Text>Click</Text>
            </TouchableOpacity>
          )}
        </KeyboardStickyView>
      </View>
    )
  }
}

About

React Native keyboard sticky view with animation

Resources

License

Releases

No releases published

Packages

No packages published