storybook-addon-rtl-direction
Version:
A Storybook tool add-on to toggle html dir attribute between LTR and RTL.
12 lines • 512 B
JavaScript
/**
* 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
*/
import { withGlobals } from "../withGlobals";
export var decorators = [withGlobals];