({
position,
label,
currentPosition,
}: {
position: number;
stepStatus: string;
label: string;
currentPosition: number;
})
| 136 | ); |
| 137 | |
| 138 | const renderLabel = ({ |
| 139 | position, |
| 140 | label, |
| 141 | currentPosition, |
| 142 | }: { |
| 143 | position: number; |
| 144 | stepStatus: string; |
| 145 | label: string; |
| 146 | currentPosition: number; |
| 147 | }) => { |
| 148 | return ( |
| 149 | <Text |
| 150 | style={ |
| 151 | position === currentPosition |
| 152 | ? styles.stepLabelSelected |
| 153 | : styles.stepLabel |
| 154 | } |
| 155 | > |
| 156 | {label} |
| 157 | </Text> |
| 158 | ); |
| 159 | }; |
| 160 | |
| 161 | return ( |
| 162 | <View style={styles.container}> |
no outgoing calls
no test coverage detected
searching dependent graphs…