react-native-ui-lib
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a
23 lines (17 loc) • 416 B
JavaScript
import React, { PureComponent } from 'react';
import { View } from 'react-native';
class KeyboardTrackingView extends PureComponent {
static displayName = 'IGNORE';
render() {
return <View {...this.props} />;
}
async getNativeProps() {
return {
trackingViewHeight: 0,
keyboardHeight: 0,
contentTopInset: 0
};
}
scrollToStart() {}
}
export default KeyboardTrackingView;