arcade-storybook-addon-rtl
TypeScript icon, indicating that this package has built-in type declarations

0.0.12 • Public • Published

Arcade Storybook Addon RTL

An addon that adds an RTL toggle to the Storybook top toolbar.

The only purpose of this addon is to switch dir attribute on the <body> tag from ltr to rtl and back.

Using the addon

Install the package:

yarn add --dev arcade-storybook-addon-rtl

Add the addon to your storybook main.js file:

module.exports = {
    stories: [...],
    addons: [
        'arcade-storybook-addon-rtl'
    ],
};

Enjoy :)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.12
    66
    • latest

Version History

Package Sidebar

Install

npm i arcade-storybook-addon-rtl

Weekly Downloads

66

Version

0.0.12

License

MIT

Unpacked Size

25.1 kB

Total Files

12

Last publish

Collaborators

  • banana.bobby