Name Description Size
constants.mjs 971
index.mjs eslint-env node 679
preset
withPseudoLocalization.mjs withPseudoLocalization is a Storybook decorator that handles emitting an event to update translations when a new pseudo localization strategy is applied. It also handles setting a "dir" attribute on the root element in the Storybook iframe. @param {Function} StoryFn - Provided by Storybook, used to render the story. @param {Object} context - Provided by Storybook, data about the story. @returns {Function} StoryFn with a modified "dir" attr set. 3050