storybook-addon-i18n icon indicating copy to clipboard operation
storybook-addon-i18n copied to clipboard

How to render components with 2 or more locales in the same story?

Open virajkulkarni14 opened this issue 3 years ago • 0 comments

Hi @goooseman!

Thank you for creating this really nifty add-on. I have the following use case:

In a single story, render a list of components in a table. In one column render them as LTR, in the other column render them as RTL. As you might have already guessed, this is to offer the viewers a side-by-side comparison of how a component might render in LTR v/s RTL.

  1. Is this possible?
  2. How would I go about implementing it using this add-on?

Any help/pointers are much appreciated. Thank you for your time!

virajkulkarni14 avatar Jun 07 '21 16:06 virajkulkarni14