@robbie-cook/bookshop-addon-import-tab
Deprecated
A Storybook addon that gives an example for importing a component
npm install @robbie-cook/bookshop-addon-import-tab
10
Downloads per week

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 @robbie-cook/bookshop-addon-import-tab

With Yarn:

yarn add -D @robbie-cook/bookshop-addon-import-tab

Register addon

// .storybook/main.js

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