/storybook-addon-import

[alpha] A Bookshop addon that shows importable code

Primary LanguageJavaScriptMIT LicenseMIT

Bookshop Addon HTML

This addon for Bookshop adds a tab that displays some import code for each story. It is forked from whitespace-se/storybook-addon-html

Animated preview

Getting Started

With NPM:

npm i --save-dev bookshop-addon-import-tab

With Yarn:

yarn add -D bookshop-addon-import-tab

Register addon

// .storybook/main.js

module.exports = {
  // ...
  addons: [
    'bookshop-addon-import-tab',
    // ...
  ],
};