New
Integrate Next.js and Storybook automaticallyAutomate with Chromatic
Star75,440
Back to integrations
Add your integration
Categories
  • ⭐️ Popular
  • 🧩 Essentials
  • 🛠 Code
  • ⚡️ Data & state
  • ✅ Test
  • 💅 Style
  • 🎨 Design
  • ⚙️ Appearance
  • 🗄 Organize
How to install addons Create an addon
@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
0
Downloads per week
Readme View on GitHub

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',
    // ...
  ],
};
Join the community
5,858 developers and counting
WhyWhy StorybookComponent-driven UI
Open source software
Storybook

Maintained by
Chromatic
Special thanks to Netlify and CircleCI