sxoinas12 5 years ago
parent
commit
cbe88f2077

File diff suppressed because it is too large
+ 0 - 0
dist/lib/Module.js


File diff suppressed because it is too large
+ 0 - 1
dist/modules/BaseHolder/index.js


File diff suppressed because it is too large
+ 0 - 0
dist/modules/BlogFeed/index.js


+ 1 - 1
dist/modules/index.js

@@ -1 +1 @@
-"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=void 0;var _BaseContainer=_interopRequireDefault(require("./BaseContainer"));var _BaseHolder=_interopRequireDefault(require("./BaseHolder"));var _Button=_interopRequireDefault(require("./Button"));var _Form=_interopRequireDefault(require("./Form"));var _Image=_interopRequireDefault(require("./Image"));var _RootComp=_interopRequireDefault(require("./RootComp"));var _Text=_interopRequireDefault(require("./Text"));var _default={BaseContainer:_BaseContainer["default"],BaseHolder:_BaseHolder["default"],Button:_Button["default"],Form:_Form["default"],Image:_Image["default"],RootComp:_RootComp["default"],Text:_Text["default"]};exports["default"]=_default;
+"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=void 0;var _BaseContainer=_interopRequireDefault(require("./BaseContainer"));var _BaseHolder=_interopRequireDefault(require("./BaseHolder"));var _Button=_interopRequireDefault(require("./Button"));var _Form=_interopRequireDefault(require("./Form"));var _Image=_interopRequireDefault(require("./Image"));var _RootComp=_interopRequireDefault(require("./RootComp"));var _Text=_interopRequireDefault(require("./Text"));var _BlogFeed=_interopRequireDefault(require("./BlogFeed"));var _default={BaseContainer:_BaseContainer["default"],BaseHolder:_BaseHolder["default"],Button:_Button["default"],Form:_Form["default"],Image:_Image["default"],RootComp:_RootComp["default"],Text:_Text["default"],BlogFeed:_BlogFeed["default"]};exports["default"]=_default;

+ 1 - 0
lib/Module.js

@@ -17,6 +17,7 @@ export default class Module extends React.Component{
 		EventSystem && EventSystem.on(eventName, ({x,y}) => {
 			return true;
 		});
+		this.isTemplate = false
 		//console.log("GEN EV: " , eventName, EventSystem);
 	}
 	

+ 32 - 0
modules/BlogFeed/index.js

@@ -0,0 +1,32 @@
+import React from 'react';
+import Module from '../../lib/Module';
+import { View , StyleSheet , Text} from 'react-native';
+import Types from '../../lib/Types';
+
+import BaseContainer from '../BaseContainer/index';
+import ImageComp from '../Image/index';
+import TextComp from '../Text/index';
+export default class BlogFeed extends Module {
+	constructor(props){
+		super(props)
+		this.isTemplate = true;
+		
+	}
+	render(){
+		return(
+			<View>
+				<BaseContainer width = {375} height = {209}>
+					<ImageComp width = {375} height = {209}/>
+				</BaseContainer>
+				<BaseContainer width = {327} height = {255}>
+					<TextComp />
+				</BaseContainer>
+			</View>
+			)
+	}
+}
+
+
+BlogFeed.Inputs = {
+
+}

+ 3 - 1
modules/index.js

@@ -5,6 +5,7 @@ import Form from './Form';
 import Image from './Image';
 import RootComp from './RootComp';
 import Text from './Text';
+import BlogFeed from './BlogFeed';
 
 export default {
 BaseContainer,
@@ -13,5 +14,6 @@ Button,
 Form,
 Image,
 RootComp,
-Text
+Text,
+BlogFeed
 }

Some files were not shown because too many files changed in this diff