-
Notifications
You must be signed in to change notification settings - Fork 67
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
Storybook Utils #2245
Storybook Utils #2245
Conversation
🦋 Changeset detectedLatest commit: b177a55 The changes in this PR will be included in the next version bump. This PR includes changesets to release 33 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Change: -1.76 kB (0%) Total Size: 1.36 MB
ℹ️ View Unchanged
|
@@ -84,7 +84,7 @@ We also have a link script, such that you can test components that are in develo | |||
The mongodb.design website will automatically import the `*.story.tsx` file from its installed package directory to render its live example. By default, the first exported story from the `*.story.tsx` file will be rendered. To specify a different story to be rendered, define the following in the Storybook file's Meta object: | |||
|
|||
``` | |||
import { StoryMetaType } from '@leafygreen-ui/lib'; | |||
import { StoryMetaType } from '@lg-tools/storybook-utils'; |
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.
This file, and all changes in packages/
are swapping /lib
imports for /storybook-utils
@@ -0,0 +1,19 @@ | |||
# Storybook Utils |
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.
The interesting changes start here
✍️ Proposed changes
@leafygreen-ui/lib/storybook
to a new@lg-tools/storybook-utils
@lg-tools/storybook-utils
as a dev dependency to all packages that need it