I was exploring the source code of the @atlaskit/storybook-addon-design-system package and noticed that index.ts
inside the src
directory exports an empty object ({}
).
when i try to import withDesignTokens function for setting decorator in storybook config file then i got empty object error. How to solve this problem?
and also if i try to import withDesignTokens from decorator file inside src folder then type is not matched with what storybook decorator is seeking?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.