social-feed-app
v1.0.1
Published
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.
Downloads
9
Readme
Social Feed React App
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 displaynetwork
Includes entities from a specified social network onlyinterval
Update interval
License
MIT © vasaeps3