import React from 'react' import importOverleafModules from '../macros/import-overleaf-module.macro' const imports = importOverleafModules('storybook') function ImportOverleafModulesMacroDemo() { if (!imports.length) { return (
You do not have any module imports configured. Add the following to your settings:
{`moduleImports: { storybook: [PATH_TO_MODULE_THAT_EXPORTS_COMPONENT] }`}
Then restart Storybook.