index.js 748 B

123456789101112131415161718192021222324252627282930313233
  1. import React from 'react';
  2. import Module from '../../lib/Module';
  3. import { View , StyleSheet , Text} from 'react-native';
  4. import Types from '../../lib/Types';
  5. import BaseContainer from '../BaseContainer/index';
  6. import ImageComp from '../Image/index';
  7. import TextComp from '../Text/index';
  8. export default class BlogFeed extends Module {
  9. constructor(props){
  10. super(props)
  11. this.isTemplate = true;
  12. console.log("@@@@@@here i am ")
  13. console.log(this.props.node)
  14. }
  15. render(){
  16. return(
  17. <View>
  18. <BaseContainer width = {375} height = {209}>
  19. <ImageComp width = {375} height = {209}/>
  20. </BaseContainer>
  21. <BaseContainer width = {327} height = {255}>
  22. <TextComp />
  23. </BaseContainer>
  24. </View>
  25. )
  26. }
  27. }
  28. BlogFeed.Inputs = {
  29. }