Skip to content

Commit

Permalink
fix(fractal): fix the landing page of the storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
clementprevot committed Jul 27, 2023
1 parent 78811f5 commit b5c197a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/fractal/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ const config: StorybookConfig = {
],

stories: [
'../stories/**/*.mdx',
'../stories/Introduction.mdx',
'../stories/**/!(Introduction).mdx',
'../stories/**/*.stories.@(js|jsx|ts|tsx)',
'../src/**/*.mdx',
'../src/**/*.stories.@(js|jsx|ts|tsx)',
Expand Down
9 changes: 8 additions & 1 deletion packages/fractal/.storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@ const preview: Preview = {
options: {
storySort: {
method: 'alphabetical',
order: ['Atoms', 'Molecules', 'Organisms', 'Templates', 'Pages'],
order: [
'Fractal',
'Atoms',
'Molecules',
'Organisms',
'Templates',
'Pages',
],
},
},
},
Expand Down

0 comments on commit b5c197a

Please sign in to comment.