|
|
@@ -13,17 +13,16 @@ class Teoria extends Component {
|
|
|
</CardSection>
|
|
|
|
|
|
<CardSection>
|
|
|
- <TouchableOpacity onPress={() => Actions.ViewProf({ id: this.props.profesor._id})}>
|
|
|
- <Text>Profesor: </Text>
|
|
|
- <Text style={{ color: '#007aff', fontWeight: '600'}}>
|
|
|
- {this.props.profesor.nombre} {this.props.profesor.apellido}
|
|
|
- </Text>
|
|
|
- </TouchableOpacity>
|
|
|
+ <TouchableOpacity onPress={() => Actions.ViewProf({ id: this.props.profesor._id})}>
|
|
|
+ <Text>Profesor: </Text>
|
|
|
+ <Text style={{ color: '#007aff', fontWeight: '600'}}>
|
|
|
+ {this.props.profesor.nombre} {this.props.profesor.apellido}
|
|
|
+ </Text>
|
|
|
+ </TouchableOpacity>
|
|
|
</CardSection>
|
|
|
|
|
|
- <CardSection>
|
|
|
+ <CardSection style={{flex:1, alignItems:'stretch'}}>
|
|
|
<WebView
|
|
|
- style={{height:400}}
|
|
|
scalesPageToFit={true}
|
|
|
javaScriptEnabled={false}
|
|
|
source={{html: this.props.texto}} />
|