Skip to content

Commit

Permalink
feat: added const for progressWidth
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyiegorov committed May 21, 2023
1 parent e90515d commit c5a6fba
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { StyleSheet } from 'react-native';
import { CellSizeConstant } from '../../constants/dimensions.contant';
import { Colors } from '../theme';

const progressHeight = 2;

export const AvailableValuesItemStyles = StyleSheet.create({
button: {
alignItems: 'center',
Expand All @@ -18,11 +20,10 @@ export const AvailableValuesItemStyles = StyleSheet.create({
},
progress: {
backgroundColor: 'green',
height: 2,
height: progressHeight,
left: 0,
position: 'absolute',
top: CellSizeConstant - 2,
zIndex: 5
top: CellSizeConstant - progressHeight
},
text: { color: Colors.black },
textActive: {
Expand Down

0 comments on commit c5a6fba

Please sign in to comment.