Skip to content

Conversation

@Eshchock1
Copy link

No description provided.

<Text h1 style={{fontSize:38, color:theme.colors.gray2, margin:0, paddingLeft:15,paddingBottom:8}}>Statistics</Text>
<Block row>
<Block color="" flex={0.7} style={{alignItems:"center",}}>
<TouchableHighlight style={{width:28, height:28, borderRadius:28, marginBottom:5, backgroundColor:theme.colors.primary,justifyContent:'center',}}><Text h3 color={theme.colors.white} style={{textAlign:"center", fontSize:13,}}>{team.tournamentsAttended}</Text></TouchableHighlight>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reuse code :(

<TouchableHighlight style={{width:28, height:28, borderRadius:28, marginBottom:5, backgroundColor:theme.colors.primary,justifyContent:'center',}}><Text h3 color={theme.colors.white} style={{textAlign:"center", fontSize:13,}}>{team.skillsRanking}</Text></TouchableHighlight>
</Block>
<Block color="" flex={3}>
<Text h3 style={{color:theme.colors.gray2, fontSize:13, paddingBottom:11, paddingTop:5,}}>Tournaments Attended</Text>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reuse code

</Block>
<Block>
<Block style={{flexDirection:'row', flexWrap:'wrap'}}>
<Tooltip backgroundColor="white" overlayColor="rgba(0,0,0,0.15)" skipAndroidStatusBar={true} popover={<Text>Average placement</Text>}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reuse code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants