1.0.1 • Published 5 years ago

social-feed-app v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Social Feed React App

NPM JavaScript Style Guide

Description

Widget renders N last social posts from JSON feed. The widget pull updates from the feed with the given interval and update the display list by removing old items and displaying the new ones.

Install

npm install --save social-feed-app

Usage

import * as React from 'react';

import SocialPosts from 'social-feed-app';


class Example extends React.Component {
  render () {
    return (
      <SocialPosts limit={5} network="twitter" interval={1000} />
    )
  }
}

Properties

  • limit Number of posts to display
  • network Includes entities from a specified social network only
  • interval Update interval

License

MIT © vasaeps3

1.0.1

5 years ago

1.0.0

5 years ago