import React from 'react'; import { Button , View, Text, StyleSheet } from 'react-native'; import {Icon} from 'react-native-elements'; import BaseSystem from './System'; export default class Environment extends BaseSystem{ constructor(CS, phoneRef) { super() this.phoneRef = phoneRef; this.CoreSystem = CS; } addRow(){ let View = this.CoreSystem.getCurrentView(); let container = View.getDefaultContainer(); let rows = View.getRows(container); View.setRows(container,rows.length + 1) rows = View.getRows(container) View.setColumns(rows[rows.length-1],1) rows[rows.length-1].props.selected = true; this.forceUpdate(); } render() { let CurrentView = this.CoreSystem.getCurrentView(); let defaultContainer = CurrentView.getDefaultContainer(); let Rows = CurrentView.getRows(defaultContainer); return