Skip to content
This repository was archived by the owner on Jan 3, 2021. It is now read-only.
This repository was archived by the owner on Jan 3, 2021. It is now read-only.

Shadow not working #20

@tarunmehta-quovantis

Description

@tarunmehta-quovantis

Cannot see shadow

`import React, {Component} from 'react';
import {StyleSheet, Text, View, TouchableWithoutFeedback} from 'react-native';
import ProgressCircle from 'react-native-progress-circle'

export class ProgressBarHeightToWaistRatio extends Component {

getColor(value) {
if (value < 42) {
return "#58defc"
} else if (value >= 42 && value < 49 ) {
return "#89dd78"
} else if(value >= 49 && value < 54){
return "#f7a743"
} else {
return "#f92e2a"
}
}
render() {
const radius = this.props.value < 100 ? 25 : 32
return (


{this.props.value}%


)
}
}

const styles = StyleSheet.create({
value: {
fontSize: 14,
fontFamily: 'Lato-Regular',
letterSpacing: 0.13,
lineHeight: 17,
padding: 10,
color: '#FFFFFF',
fontWeight: 'bold',
}
})
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions