File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ This library accepts all the props of [ScrollView](https://reactnative.dev/docs/
32
32
### Styling
33
33
For styling pass these props.
34
34
35
- ` startFadeStyle ` , ` endFadeStyle ` and ` dividerStyle ` .
35
+ ` containerStyle ` , ` startFadeStyle ` , ` endFadeStyle ` and ` dividerStyle ` .
36
36
37
37
### Events
38
38
| Name | Callback param | Description |
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " rn-faded-scrollview" ,
3
- "version" : " 1.0.9 " ,
3
+ "version" : " 1.0.10 " ,
4
4
"description" : " A simple and customizable React Native component that allows you to add fade effect in ScrollView at both ends." ,
5
5
"main" : " src/index.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ export default class RNFadedScrollView extends Component {
122
122
render ( ) {
123
123
const endFadeEnable = this . isEndFadeAllowed ( ) ;
124
124
return (
125
- < View style = { [ styles . container , { flexDirection : this . props . horizontal ? "row" : "column" } ] }
125
+ < View style = { [ styles . container , this . props . containerStyle , { flexDirection : this . props . horizontal ? "row" : "column" } ] }
126
126
onLayout = { this . _onLayout . bind ( this ) } >
127
127
{ ( this . state . allowStartFade && this . props . allowDivider ) && this . getDivider ( ) }
128
128
< ScrollView
You can’t perform that action at this time.
0 commit comments