//标题
static navigationOptions = ({ navigation }) => {
return {
title: navigation.getParam("name").title
};
};
constructor(props) {
super(props);
this.state = {
content: this.props.navigation.getParam("name").content
};
}
render() {
return (
<ScrollView>
<HTML
html={this.state.content}
imagesMaxWidth={Dimensions.get("window").width}
/>
</ScrollView>
);
}
}
//
网友评论