React component for twitter follow button!
npm install react-twitter-follow-button --save
var ReactTwitterFollowButton = require('react-twitter-follow-button');
<ReactTwitterFollowButton twitterAccount="your-twitter-account-here" showLarge={true} showName={false} showCount={false} />
ES2015 style
import ReactTwitterFollowButton from 'react-twitter-follow-button';
If content is dynamically inserted into a page it’s necessary to parse new buttons and widgets using the twttr.widgets.load()
function.
- twitterAccount
- showLarge
- showName
- showCount
Please contribute to this package via Pull Request, or you can open Issues!
MIT