We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbb3f02 commit 87c7dbdCopy full SHA for 87c7dbd
README.md
@@ -19,6 +19,30 @@ OR
19
20
`yarn add rn-faded-scrollview`
21
22
+## Simple
23
+
24
+```javascript
25
+import RNFadedScrollView from 'rn-faded-scrollview';
26
27
+// Within your render function
28
+<RNFadedScrollView
29
+ allowStartFade={true}
30
+ horizontal={false}
31
+ fadeSize={10}
32
+ style={styles.backgroundStyle}
33
+ bounces={false}
34
+ >
35
+ //other views
36
+</RNFadedScrollView>
37
38
+// Later on in your styles..
39
+var styles = StyleSheet.create({
40
+ backgroundStyle: {
41
+ flex: 1
42
+ }
43
+});
44
+```
45
46
## Documentation
47
This library accepts all the props of [ScrollView](https://reactnative.dev/docs/scrollview) and some additional props.
48
### Props
0 commit comments