/* https://reactnative.dev/docs/image https://reactnative.dev/docs/images https://reactnative.dev/img/tiny_logo.png https://codebeautify.org/base64-to-image-converter */ import React, { Component } from 'react'; import { AppRegistry, View, Image, Text, StyleSheet, ImageBackground, ScrollView } from 'react-native'; import icon from './tiny_logo.png'; const styles = StyleSheet.create({ container: { paddingTop: 50, justifyContent: 'center', alignItems: 'center', }, text: { flex:1, justifyContent: 'center', textAlign:'center', alignItems: 'center', backgroundColor: '#ddffdd', }, viewimage : { justifyContent: 'center', alignItems: 'center', }, tinyLogo: { width: 150, height: 150,alignItems: 'center', justifyContent: 'center',resizeMode: "center", }, scrollView: { backgroundColor: 'pink', marginHorizontal: 20, paddingTop: 50, }, }); class DisplayImages extends Component { render() { return ( ชื่อวัตถุ : ครกตำ {"\n"} เลขลำดับ :วบล.2563.001 หมวดหมู่ : เครื่องมือเครื่องใช้{"\n"} {"\n"} http://www.lpmuseum.net/B002.html{"\n"} ชื่อวัตถุ : ตะเกียง {"\n"} เลขลำดับ :วบล.2563.002 {"\n"} หมวดหมู่ : เครื่องมือเครื่องใช้{"\n"} {"\n"} ); } } export default DisplayImages;