react-native-keyboard-topview

0.0.1 • Public • Published

react-native-keyboard-topview

react-native keyboard top view, custom container content(ios,android,android 需要删除 android 目录下 'app'内'src'目录中AndroidManifest.xml文件内的android:windowSoftInputMode 项)

Installation

npm i react-native-keyboard-topview --save

示例

Use

import KeyboardTopView from 'react-native-keyboard-topview'

export default class KeyBoardDismissView extends Component {
  render() {
    return (
      <View style={styles.container}>
        <TextInput style={{ height: 40,borderColor: 'gray', borderWidth: 1 }}
        />
        <KeyboardTopView />
      </View>
    );
  }
}

Package Sidebar

Install

npm i react-native-keyboard-topview

Weekly Downloads

2

Version

0.0.1

License

ISC

Unpacked Size

5.28 kB

Total Files

3

Last publish

Collaborators

  • caoguodong