@storybook/react#configure TypeScript Examples
The following examples show how to use
@storybook/react#configure.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: config.ts From substrate-api-explorer with Apache License 2.0 | 5 votes |
// Configure
configure(loadStories, module)
Example #2
Source File: config.tsx From disco-cube-admin with MIT License | 5 votes |
configure(() => req.keys().forEach(req), module);
Example #3
Source File: config.tsx From natds-rn with ISC License | 5 votes |
configure([docs, components], module);
Example #4
Source File: config.ts From react-segment-hooks with MIT License | 5 votes |
// automatically import all files ending in *.stories.js
configure(require.context('../src', true, /\.stories\.(js|ts)x?$/), module);
Example #5
Source File: config.ts From react-sheet-music with MIT License | 5 votes |
// automatically import all files ending in *.stories.js
configure(require.context('../stories', true, /\.stories\.(js|ts)x?$/), module);
Example #6
Source File: config.ts From react-calendly with MIT License | 5 votes |
configure(loadStories, module);
Example #7
Source File: preview.ts From grafana-chinese with Apache License 2.0 | 5 votes |
// @ts-ignore
configure(require.context('../src', true, /\.story\.(js|jsx|ts|tsx|mdx)$/), module);