UNPKG

storybook-addon-rtl-direction

Version:

A Storybook tool add-on to toggle html dir attribute between LTR and RTL.

21 lines (18 loc) 662 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.decorators = void 0; var _withGlobals = require("../withGlobals"); /** * A decorator is a way to wrap a story in extra “rendering” functionality. Many addons define decorators * in order to augment stories: * - with extra rendering * - gather details about how a story is rendered * * When writing stories, decorators are typically used to wrap stories with extra markup or context mocking. * * https://storybook.js.org/docs/react/writing-stories/decorators#gatsby-focus-wrapper */ var decorators = [_withGlobals.withGlobals]; exports.decorators = decorators;