react-gists

1.0.0 • Public • Published

react-gists

Build Status license

Embed Github Gists into your React application. Compatible with React 16.

gists

Installation

npm install --save react-gists

Usage

Import:

import Gist from 'react-gists'

All files:

<Gist id="1234asdf"/>

Specific file:

<Gist id="1234asdf" file="example.js"/>

Demo

You can run the demo locally by cloning this repo and follow these steps from within the cloned directory:

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i react-gists

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • schnubor