Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Personare/react-storybook-decorator-github-corner

Repository files navigation

react-storybook-decorator-github-corner

Storybook decorator to render the Github Corner.

Screenshot

Installation

npm install @personare/react-storybook-decorator-github-corner --save-dev

Using globally mode

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)

Examples

Related

License

MIT © Personare

About

:octocat: Storybook decorator to render the Github Corner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published