Skip to content

Commit

Permalink
Fix storySort
Browse files Browse the repository at this point in the history
  • Loading branch information
fredvisser committed Mar 26, 2024
1 parent 1656254 commit 01b0ed5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/nimble-components/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ export const parameters = {
'Tests',
['Docs'],
'Internal',
['Docs'],
'Patterns',
['Docs']
]
}
Expand Down Expand Up @@ -74,6 +76,7 @@ const createOrUpdateBackgroundWorkaround = style => {
// Storybook background plugin does not support mdx
// Workaround based on: https://github.com/storybookjs/storybook/issues/13323#issuecomment-876296801
export default {
parameters,
decorators: [
(story, context) => {
const defaultBackgroundColorKey = context?.parameters?.backgrounds?.default;
Expand Down
2 changes: 1 addition & 1 deletion packages/nimble-components/src/tests/patterns.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from '@storybook/addon-docs';

<Meta title="patterns/Docs" />
<Meta title="Patterns/Docs" />

# Patterns

Expand Down

0 comments on commit 01b0ed5

Please sign in to comment.