美文网首页
2018-11-14 详情html方式展示

2018-11-14 详情html方式展示

作者: z芝麻 | 来源:发表于2018-11-14 15:29 被阅读0次

    import React, { Component } from "react";

    import { View, ScrollView } from "react-native";

    import HTML from "react-native-render-html";

    export default class B extends Component {

      constructor(props) {

        super(props);

        this.state = {};

      }

      render() {

        return (

          <View style={{ flex: 1, margin: 10 }}>

            <ScrollView>

              <HTML html={this.props.navigation.getParam("abc", "ddddddd")} />

            </ScrollView>

          </View>

        );

      }

    }

    相关文章

      网友评论

          本文标题:2018-11-14 详情html方式展示

          本文链接:https://www.haomeiwen.com/subject/xdjjfqtx.html