1.0.6 • Published 12 months ago

storybook-addon-dir v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

storybook-addon-dir

A simple addon for a storybook rtl-toggle

Build Status Issues Open Licenses Bundle Size NPM

getting started

First install the dependencies

npm install -D storybook-addon-dir
yarn add -D storybook-addon-dir
pnpm add -D storybook-addon-dir

Then add the addon to your main.(js|ts) storybook file

// main.ts
const config: StorybookConfig = {
  addons: [
    'storybook-addon-dir',
    ...
  ],
  ...
}

export default config

examples

The addon adds a button to the tool bar, at the top:

inactive example active example

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago