medium-widget

1.0.1 • Public • Published

medium-widget

Easily integrate medium posts into react app

NPM JavaScript Style Guide

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

Readme

Keywords

none

Package Sidebar

Install

npm i medium-widget

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

9.61 kB

Total Files

7

Last publish

Collaborators

  • anaszaman