This addon for Bookshop adds a tab that displays some import code for each story. It is forked from whitespace-se/storybook-addon-html
With NPM:
npm i --save-dev bookshop-addon-import-tab
With Yarn:
yarn add -D bookshop-addon-import-tab
// .storybook/main.js
module.exports = {
// ...
addons: [
'bookshop-addon-import-tab',
// ...
],
};