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?