ClassInfo.js 409 Bytes
/**
 * Created by mac on 2017/5/13.
 */
import React, {Component} from "react";
import {View, WebView} from "react-native";

export default class ClassInfo extends Component {
  render() {
    return (
      <View style={{height:500,    paddingLeft: 15,
        paddingRight: 15,    backgroundColor:'white'}}>
        <WebView source={{html:this.props.html}} scalesPageToFit={true}/>
      </View>
    )
  }
}