Embed Github Gists into your React application. Compatible with React 16.
npm install --save react-gists
Import:
import Gist from 'react-gists'
All files:
<Gist id="1234asdf"/>
Specific file:
<Gist id="1234asdf" file="example.js"/>
You can run the demo locally by cloning this repo and follow these steps from within the cloned directory:
cd demo
yarn install
yarn start
- A local server should be running on http://localhost:3000
MIT