Storybook decorator to render the Github Corner.
npm install @personare/react-storybook-decorator-github-corner --save-dev
Inside .storybook/config.js
import { configure, addDecorator } from '@kadira/storybook';
import GithubCorner from '@personare/react-storybook-decorator-github-corner';
addDecorator(GithubCorner);
function loadStories() {
require('../src/Button.story');
}
configure(loadStories, module);
Note: The link of repository is based on pages that are hosted on Github Pages (*.github.io)
- react-github-corner - component used by this decorator