-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Reorganize Storybook sidebar nav to better reflect USWDS docs #785
Conversation
import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport' | ||
|
||
export const parameters = { | ||
viewport: { | ||
viewports: INITIAL_VIEWPORTS, | ||
}, | ||
options: { | ||
storySort: { | ||
method: 'alphabetical', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice. Can we put the list below in alphabetical order too with "Components" first? Its also the most important stuff and it seems like by default storybook opens to the first story if you don't have a landing page
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I'll make sure to update the stories for my Breadcrumb PR with this as well.
Summary
In the interest of making components easier to find and match to their USWDS counterparts, this PR organizes components in Storybook under groups:
Related Issues or PRs
Closes #784
How To Test
yarn storybook
)Screenshots (optional)