Skip to content

Commit

Permalink
Add icon to auto path viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
alaninnovates committed Sep 27, 2024
1 parent a27aed5 commit 68b11fe
Showing 1 changed file with 22 additions and 15 deletions.
37 changes: 22 additions & 15 deletions app/src/screens/search-flow/TeamViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,21 +109,28 @@ const TeamViewer: React.FC<TeamViewerProps> = ({route}) => {
);
}}
/>
<ListItem
text={'See auto paths'}
onPress={() => {
navigation.navigate('Auto Paths', {
team_number: team.team_number,
competitionId: competitionId,
});
}}
caretVisible={true}
disabled={false}
icon={() => {
return (
);
}}
/>
<ListItem
text={'See auto paths'}
onPress={() => {
navigation.navigate('Auto Paths', {
team_number: team.team_number,
competitionId: competitionId,
});
}}
caretVisible={true}
disabled={false}
icon={() => {
return (
<Svg
width="16"
height="16"
fill={colors.primary}
viewBox="0 0 256 256">
<Path d="M200,164a36.07,36.07,0,0,0-33.94,24H72a28,28,0,0,1,0-56h96a44,44,0,0,0,0-88H72a12,12,0,0,0,0,24h96a20,20,0,0,1,0,40H72a52,52,0,0,0,0,104h94.06A36,36,0,1,0,200,164Zm0,48a12,12,0,1,1,12-12A12,12,0,0,1,200,212Z" />
</Svg>
);
}}
/>
<ListItem
text={'Create Performance Graph'}
onPress={() => setGraphCreationModalVisible(true)}
Expand Down

0 comments on commit 68b11fe

Please sign in to comment.