12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- import Tool from '../Systems/Tool';
- import { View , Text , Button , TextInput , StyleSheet} from 'react-native';
- import { Icon } from 'react-native-elements'
- import React from 'react';
- import Library from 'trapilib/dist/lib';
- let {
- CoreSystem,
- ViewSystem,
- ViewNode
- } = Library;
- const styles = StyleSheet.create({
- container: {
- flex: 1,
- borderRadius: 4,
- borderWidth: 1,
- borderColor: '#d6d7da',
- alignItems: 'center',
- justifyContent: 'center',
- },
- text:{
- flex:1,
- backgroundColor:'red'
- }
- });
- export default class InsertForm extends Tool{
- constructor(){
- super()
- }
- editViewNode(CS,node){
-
- }
- render(){
- let selectStyle;
- if(this.active){
- selectStyle = {backgroundColor:"#a6a6a6"}
- }else{
- selectStyle = {backgroundColor:"#F1F1F1"}
- }
- return(
- <View>
- <Button
- color="#f1f1f1"
- title={<Icon name='comment'
- color="#606060"
- containerStyle={selectStyle}
- />}
- />
-
- </View>
- )
- }
- }
|