-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Rename storyByModuleExport
to resolveModuleExport
#20517
Conversation
This looks like a good first step. But I think we want a helper like On another note, I'm still confused as to when we use the meta term and when we call it component, but I guess you have that under control here. |
componentOrStoryIdByModuleExport
storyByModuleExport
to resolveModuleExport
So it can return either, allowing generic uses of `of={}`
6fb9a4c
to
f91a6b1
Compare
After trying this out in the Description block, I'm seeing something unexpected that we should discuss. the For Description, that makes the returned meta unusable, as it reads |
…able-to-use-description-2 Docs: Fix attachment logic
So it can return either, allowing generic uses of
of={}
Issue:
What I did
Renamed the call, updated usages.
How to test
docsContext
. We should potentially wait to merge this.