Skip to content

Commit

Permalink
added order.json
Browse files Browse the repository at this point in the history
  • Loading branch information
iz-podpolja committed May 25, 2022
1 parent 01dfb8e commit 9cbaa1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .storybook/order.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
7 changes: 6 additions & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { withDesign } from 'storybook-addon-designs'
import { withThemeProvider, AVAILABLE_THEMES } from '../src/helpers/ThemeProvider'

import order from './order.json'
export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
Expand All @@ -9,6 +9,11 @@ export const parameters = {
date: /Date$/,
},
},
options: {
storySort: {
order,
},
},
}

export const globalTypes = {
Expand Down

0 comments on commit 9cbaa1c

Please sign in to comment.