KeyboardAwareScrollView
The KeyboardAwareScrollView is an add-on component for text.
How to use
import React from 'react';
import {KeyboardAwareScrollView, Text} from '@gyri/native-ui-components';
const App = ({style, className}) => {
return (
<KeyboardAwareScrollView className={className} style={style}>
<Text>This is my text</Text>
</KeyboardAwareScrollView>
)
}
export default App
Props
| # | Name | Data type | Default value | Values | Description |
|---|---|---|---|---|---|
| 1 | style | string | It allows you to style your components | ||
| 2 | className | string | '' | It defined external CSS stylesheet. |
For more details https://github.com/APSL/react-native-keyboard-aware-scroll-view