File tree Expand file tree Collapse file tree
legacy/v2_api/hoverable_icons
new_api/platform_specific/hoverable_icons Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ export default function Example() {
9595
9696 return (
9797 < Animated . View style = { styles . container } >
98- < Animated . View style = { { flexDirection : 'row' , overflow : 'visible' } } >
98+ < Animated . View style = { styles . wrapper } >
9999 { images . map ( ( source , index ) => (
100100 < BoxComponent key = { index } source = { source } />
101101 ) ) }
@@ -116,4 +116,10 @@ const styles = StyleSheet.create({
116116 height : SIZE ,
117117 marginHorizontal : 8 ,
118118 } ,
119+ wrapper : {
120+ justifyContent : 'center' ,
121+ alignItems : 'center' ,
122+ flexDirection : 'row' ,
123+ flexWrap : 'wrap' ,
124+ } ,
119125} ) ;
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ export default function Example() {
9898
9999 return (
100100 < Animated . View style = { styles . container } >
101- < Animated . View style = { { flexDirection : 'row' , overflow : 'visible' } } >
101+ < Animated . View style = { styles . wrapper } >
102102 { images . map ( ( source , index ) => (
103103 < BoxComponent key = { index } source = { source } />
104104 ) ) }
@@ -119,4 +119,10 @@ const styles = StyleSheet.create({
119119 height : SIZE ,
120120 marginHorizontal : 8 ,
121121 } ,
122+ wrapper : {
123+ justifyContent : 'center' ,
124+ alignItems : 'center' ,
125+ flexDirection : 'row' ,
126+ flexWrap : 'wrap' ,
127+ } ,
122128} ) ;
You can’t perform that action at this time.
0 commit comments