import React, { Component } from 'react'; import { View, TouchableOpacity, TextInput, KeyboardAvoidingView, Platform, ScrollView } from 'react-native'; import Image from 'react-native-fast-image' import Text from '../../components/Text'; import Icon from '../../components/Icon' import moment from 'moment' export default class SaveViewMeter extends Component { constructor(props) { super(props); this.state = { }; } render() { return ( ถ่ายเมื่อวันที่ {moment().format('DD/MM/YYYY HH:mm')} น. ถ่ายภาพมิเตอร์{this.props.TypeName}อีกครั้ง กรุณากรอกเลขมิเตอร์{this.props.TypeName} this.props.TextChanged(text)} value={this.props.amount} keyboardType={'numeric'} /> {this.props.Confirm()}}> ยืนยันหมายเลขหน่วย ); } }