Skip to content

schnubor/react-gists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Embed Gists in your React Application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published