Commit 9ac969af authored by agustinaardisana's avatar agustinaardisana
Browse files

fixes #14

parent 524a4ba1
......@@ -78,13 +78,8 @@ export class FlujoVaginal extends Sintoma {
* Radios
*/
radio(state = false) {
// usando URIs no se ven las imgs
// const source = state ? 'https://panel.lunarcomunidad.com/ios/radio_checked.png' : 'https://panel.lunarcomunidad.com/ios/radio_unchecked.png'
// return (<Image source={{uri: source}}/>)
const source = state ? require('../../assets/radio_checked.png') : require('../../assets/radio_unchecked.png')
return (<Image source={source}/>)
const source = state ? 'https://panel.lunarcomunidad.com/ios/radio_checked.png' : 'https://panel.lunarcomunidad.com/ios/radio_unchecked.png'
return (<Image style={{width: 25, height: 25, resizeMode: 'contain'}} source={{uri: source}}/>)
}
render () {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment