medium-widget
v1.0.1
Published
Easily integrate medium posts into react app
Downloads
2
Readme
medium-widget
Easily integrate medium posts into react app
Install
npm install --save medium-widget
Usage
import React, { Component } from 'react'
import MediumWidget from 'medium-widget'
class App extends Component {
render() {
return (
<>
<MediumWidget
renderTo='#medium-widget'
resource='https://medium.com/@_ericelliott'
postsPerLine='2'
limit='4'
picture='big'
fields='["description", "author", "claps", "likes", "publishAt"]'
ratio='landscape'
/>
</>
)
}
}
export default App
License
MIT © anaszaman