profile

Home   »   profile

class InstagramProfile extends React.Component {
  this.state = {
    posts: ['ImgSrc1.jpg', 'ImgSrc2.jpg', ...] 
    icons: ['home.jpg', 'dms.jpg', ...] 
  }
  render() {
    const posts = this.state.posts.map((src) => ) 
    const icons = this.state.posts.map((icon) => ) 
    return (
        ...
        
           ...
           
             {posts}
          
        
        
           {posts}
        
     )
  }
}

Leave a Reply

Your email address will not be published.