0.5.1 • Published 6 years ago

react-twitter-embedded-timeline v0.5.1

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

react-twitter-embedded-timeline

Simple React component for Twitter Embedded Timeline

Install

npm install --save react-twitter-embedded-timeline

Example

npm.io

import React from 'react';
import ReactDOM from 'react-dom';
import TwitterTimeline from 'react-twitter-embedded-timeline';

ReactDOM.render(
  <TwitterTimeline widgetId="695868534455275520" chrome="noborders noheader" height={300} />,
  document.getElementById('app')
);

Required props

OptionDescription
widgetIdCreate a widget here

get the widget ID (e.g. <a data-widget-id="your widget ID">****</a>)

Optional props

You can highly customize the Timeline only if you set widgetId.

OptionDescription
chromenoheader, nofooter, noborders, noscrollbar, transparent
limitDisplay a specific number of items between 1 and 20. The timeline is fixed.
userYour username on Twitter
heightSee #Dimensions
widthSee #Dimensions
loadingThe text to display while the Timeline is loading.

MIT licensed

0.5.1

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

8 years ago

0.2.3

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago