ScrollView
The ScrollView is the fundamental component of React Native for building a user interface.
How to use
import React from 'react';
import {ScrollView, Text} from '@gyri/native-ui-components';
const App = ({style, className}) => {
return (
<ScrollView className={className} style={style}>
<Text>This is my text</Text>
</ScrollView>
)
}
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://reactnative.dev/docs/scrollview