Skip to content

Commit

Permalink
Fix storybook for kibana management (elastic#205299)
Browse files Browse the repository at this point in the history
## Summary

Storybook broke due to recent file reorganized, this fixes it.

`yarn storybook management` will start storybook with kibana management
team content.

<img width="790" alt="Screenshot 2024-12-30 at 5 34 48 PM"
src="https://github.com/user-attachments/assets/d94637b5-cd0d-4dbc-8d25-6ed4c15d82d5"
/>
  • Loading branch information
mattkime authored and viduni94 committed Jan 2, 2025
1 parent d686a3f commit e91c015
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/kbn-management/storybook/config/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ import { defaultConfig } from '@kbn/storybook';

module.exports = {
...defaultConfig,
stories: ['../../**/*.stories.+(tsx|mdx)'],
stories: [
'../../../../src/platform/packages/(private|shared)/kbn-management/**/*.stories.+(tsx|mdx)',
],
reactOptions: {
strictMode: true,
},
Expand Down

0 comments on commit e91c015

Please sign in to comment.