react-github-gist
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

Embed a gist from Github with React.

Used by illuminsight, Ptorx and other Xyfir projects.

npm version Build Status

Due to its simplicity, this project should not need frequent updates.

import { ReactGithubGist } from 'react-github-gist';
import React from 'react';
 
const Gist = () => (
  <ReactGithubGist
    // Gist to render
    gist="GithubUser/GistIdentifier23a110196cc3ec113"
    // Optionally render only a single file
    file="file.md"
  />
);

Readme

Keywords

Package Sidebar

Install

npm i react-github-gist

Weekly Downloads

1

Version

2.0.1

License

MIT

Unpacked Size

5.97 kB

Total Files

5

Last publish

Collaborators

  • xyfir