import React, { Component } from "react"; import { Platform, StyleSheet, Text, View, Image, TouchableOpacity, ImageBackground, Button, Dimensions, DeviceEventEmitter } from "react-native"; const instructions = Platform.select({ ios: "Press Cmd+R to reload,\n" + "Cmd+D or shake for dev menu", android: "Double tap R on your keyboard to reload,\n" + "Shake or press menu button for dev menu" }); /** 因没有图,所以Image先用颜色代替,有图可替换 */ type Props = {}; var width = Dimensions.get("window").width; var height = Dimensions.get("window").height; export default class RevisionAge extends Component { render() { return ( {this.props.textss} ); } } /** 使用方法 this.toWebPage("这里写json......")} /> */