import React, { Component } from "react" import { View, Text } from 'react-native'; import BaseFunc from '../base/func' import { IformProp, IformState, IformOption } from '../aim/form' interface State extends IformState { } interface Prop extends IformProp { } import OperateForm from '../operate/form' /** * Hello */ export default class extends Component{ constructor(props: Prop) { super(props); var sValue = OperateForm.upFormValue(props.name, props.formDefaultValue != undefined ? props.formDefaultValue : ''); this.state = { currentValue: sValue }; } render() { return ( {this.state.currentValue} ); } }