@@ -21,7 +21,7 @@ const TestDotContainer = ( {color, sizeRatio = 1.0, maxPage=10} )=>{
2121 const [ page , setPage ] = useState ( 0 ) ;
2222
2323 return (
24- < View style = { { flex :1 , } } >
24+ < View style = { { flex :1 , borderBottomWidth : 0.5 , borderBottomColor : 'grey' , marginBottom : 10 } } >
2525 < View style = { { flex :1 , flexDirection :'row' } } >
2626 < View style = { { flex :1 , justifyContent :'space-between' , flexDirection :'row' , alignItems :'center' , marginRight :12 } } >
2727 < Text style = { { fontSize : 16 , fontWeight : '400' , color : 'black' , } } > page</ Text >
@@ -64,7 +64,7 @@ const TestDotVerticalContainer = ( {color, sizeRatio = 1.0, maxPage=10} )=>{
6464 const [ page , setPage ] = useState ( 0 ) ;
6565
6666 return (
67- < View style = { { flex :1 , flexDirection :'row' } } >
67+ < View style = { { flex :1 , flexDirection :'row' , borderBottomWidth : 0.5 , borderBottomColor : 'grey' , marginBottom : 10 } } >
6868 < View style = { { flex :5 , flexDirection :'column' } } >
6969 < View style = { { flex :1 , justifyContent :'space-between' , flexDirection :'row' , alignItems :'center' } } >
7070 < Text style = { { fontSize : 16 , fontWeight : '400' , color : 'black' , } } > page</ Text >
@@ -121,7 +121,6 @@ const App = () => {
121121 </ View >
122122 < View style = { { flex :4 , flexDirection :'column' , paddingVertical :30 , paddingHorizontal :20 , marginBottom :20 } } >
123123 < TestDotContainer maxPage = { 20 } color = { 'black' } sizeRatio = { 1 } />
124- < TestDotContainer maxPage = { 10 } color = { 'red' } sizeRatio = { 1 } />
125124 < TestDotContainer maxPage = { 4 } color = { 'green' } sizeRatio = { 1.0 } />
126125 < TestDotVerticalContainer maxPage = { 10 } color = { 'rgb(0,0,120)' } />
127126 < TestDotVerticalContainer maxPage = { 4 } color = { 'blue' } sizeRatio = { 1.5 } />
0 commit comments