storybook-addon-github-button
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

storybook-addon-github-button

A storybook addon that allows you to link github repo to toolbar

Installation

Run the following command to install the most recent version of chess-engine-ts from NPM:

npm i storybook-addon-github-button

or using yarn

yarn add storybook-addon-github-button

Getting started

within .storybook/main.js:

//.storybook/main.js

module.exports = {
  addons: ["storybook-addon-github-button"],
};

Then you should have a github button in your toolbar

Setting up link

within .storybook/preview.js:

//.storybook/preview.js

export const globalTypes = {
  githubURL: {
    name: "githubURL",
    description: "Global url",
    defaultValue: "your-github-repo",
  },
};

Package Sidebar

Install

npm i storybook-addon-github-button

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

12.7 kB

Total Files

19

Last publish

Collaborators

  • koriedrakechaney