React native UI example/template. Home feed posts list social network

React Native example/template, Home feed posts list social network! . Take a look at this UI example and see how it can enhance your project. You can copy or download the code and use it in your project. Don't forget to browse our library of other free React Native templates for even more design and functionality inspiration. Happy coding!

React native template. Home feed posts list social network

Home feed posts list social network

import React from 'react';
import { View, Text, Image, FlatList, TouchableOpacity, StyleSheet } from 'react-native';

const POSTS = [
  {
    id: 1,
    avatar: 'https://www.bootdey.com/img/Content/avatar/avatar2.png',
    name: 'React Native',
    date: 'Jan 1, 2021',
    image: 'https://www.bootdey.com/image/280x280/40E0D0/000000',
    description: 'Happy New Year! 🎉 2021 is going to be an amazing year for React Native!',
    likes: 122,
    shares: 32,
  },
  {
    id: 2,
    avatar: 'https://www.bootdey.com/img/Content/avatar/avatar8.png',
    name: 'Node.js',
    date: 'Dec 31, 2020',
    image: 'https://www.bootdey.com/image/280x280/DB7093/000000',
    description: 'Ending the year with a bang! 🎆 Thank you to all our amazing community members for your support in 2020. We can\'t wait to see what you build in 2021 with Node.js!',
    likes: 243,
    shares: 77,
  },
  // ...
];

const  HomeScreen = () => {
  return (
    <FlatList
      data={POSTS}
      renderItem={({ item }) => (
        <View style={styles.post}>
          <View style={styles.header}>
            <Image source={{ uri: item.avatar }} style={styles.avatar} />
            <View>
              <Text style={styles.name}>{item.name}</Text>
              <Text style={styles.date}>{item.date}</Text>
            </View>
          </View>
          <Text style={styles.description}>{item.description}</Text>
          {item.image && <Image source={{ uri: item.image }} style={{ height: 200, width: '100%' }} />}
          <View style={styles.actions}>

//LOGIN TO SEE THE REST OF THE CODE            <================ ========{() => {}} ======{======.============}>
              <==== ======{======.==========}>====</====>
              <==== ======{======.===========}>{====.=====}</====>
            </================>
            <================ ========{() => {}} ======{======.============}>
              <==== ======{======.==========}>=====</====>
              <==== ======{======.===========}>{====.======}</====>
            </================>
          </====>
        </====>
      )}
      ============={==== => ====.==.========()}
    />
  );
}

===== ====== = ==========.======({
  ====: {
    ================:==,
    ===========: '#===',
    =============: =.=,
    ============: =,
    ============:==,
    =================:=.=,
    =================:'#======',
    =======:==,
  },
  ======: {
    =====: ==,
    ======: ==,
    ============: ==,
  },
  ======: {
    =============: '===',
    ==========: '======',
    ============: ==,
  },
  ====: {
    ========: ==,
    ==========: '====',
    ==========: ==,
  },
  ====: {
    ========: ==,
    =====: '====',
    ==========: ==,
  },
  ===========: {
    ============: ==,
  },
  =======: {
    =============: '===',
    ==============: '=====-=======',
    ==========: '======',
    =========: ==,
  },
  ============: {
    =============: '===',
    ==========: '======',
  },
  ==========: {
    ========: ==,
    =====: '#======',
  },
  ===========: {
    ========: ==,
    ==========: =,
  },
});

====== ======= ==========;

                                            

Similar snippets

React native template. List profiles with right icon

List profiles with right icon

About this react-native template

This react-native template, Home feed posts list social network, was published on Jan 1st 2023, 15:03 by Bootdey Admin and it is free.

We hope you will enjoy this awesome react-native template and stay tuned for the latest updates, we believe it will save your precious time and gives trendy look to your next application.

This template currectly have 2.5K views, Using this react-native template you have the following benefits:

Example Screens

You can jump start your development with our pre-built example, all you need to do is copy the code and execute it, You can also show it to your customers so that they have an idea of the final result.

Cross-platform for mobile development

This template was developed for Android and iOS.

Simple Integration

This template can be simply integrated on existing projects and new ones too, all you need to do is copy the code and start working.

Fully coded view

this is a functional example, You will save a lot of time going from prototyping to full-functional code.