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

Shadow not working #20

Open
tarunmehta-quovantis opened this issue Dec 7, 2018 · 0 comments
Open

Shadow not working #20

tarunmehta-quovantis opened this issue Dec 7, 2018 · 0 comments

Comments

@tarunmehta-quovantis
Copy link

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',
}
})
`

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant