File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -31,23 +31,19 @@ const DirText = (props: DirTextProps) => {
3131 } , [ disabled ] ) ;
3232
3333 return (
34- < View
35- style = { [
36- styles . containerStyle ,
37- { minWidth : containerSize [ size ] , height : containerSize [ size ] , paddingHorizontal : icon ? 0 : 5 } ,
38- ] }
39- >
34+ < View style = { [ styles . containerStyle , { minWidth : containerSize [ size ] , paddingHorizontal : icon ? 0 : 5 } ] } >
4035 < Button
4136 bordered = { false }
4237 disabled = { disabled }
38+ size = { props . size }
4339 onPress = { ( ) => {
4440 onPageChange ( direction === 'left' ? 'prev' : 'next' ) ;
4541 } }
4642 >
4743 { icon ? (
4844 < Icon name = { direction } size = { contentSize [ size ] } color = { disabledStyle } />
4945 ) : (
50- < Text style = { { fontSize : contentSize [ size ] , color : disabledStyle } } > { dirText } </ Text >
46+ < Text style = { { color : disabledStyle } } > { dirText } </ Text >
5147 ) }
5248 </ Button >
5349 </ View >
You can’t perform that action at this time.
0 commit comments