1.0.6 • Published 2 years ago
storybook-addon-dir v1.0.6
A simple addon for a storybook rtl-toggle
getting started
First install the dependencies
npm install -D storybook-addon-diryarn add -D storybook-addon-dirpnpm add -D storybook-addon-dirThen add the addon to your main.(js|ts) storybook file
// main.ts
const config: StorybookConfig = {
addons: [
'storybook-addon-dir',
...
],
...
}
export default configexamples
The addon adds a button to the tool bar, at the top:

