Skip to content

Commit

Permalink
feat(storybook): Change Tree in kickstartDS Storybook #100
Browse files Browse the repository at this point in the history
  • Loading branch information
fleven-kds committed Apr 18, 2023
1 parent 6839559 commit 726b08c
Show file tree
Hide file tree
Showing 29 changed files with 132 additions and 530 deletions.
12 changes: 12 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,21 @@ export const parameters = {
storySort(a, b) {
// welcome page to top!
if (a[0].includes("welcome")) {
return -2;
}

if (a[0].includes("design-token")) {
return -1;
}

if (a[0].includes("custom")) {
return 4;
}

if (a[0].includes("pages")) {
return 10;
}

// alphabetically
return a[1].kind === b[1].kind
? 0
Expand Down
67 changes: 0 additions & 67 deletions src/Pages/Buttons.story.jsx

This file was deleted.

50 changes: 0 additions & 50 deletions src/Pages/CountUpVariants.story.jsx

This file was deleted.

Loading

0 comments on commit 726b08c

Please sign in to comment.