-
Notifications
You must be signed in to change notification settings - Fork 20
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: fix show code on some stories and remove button migration doc #2857
Conversation
|
size-limit report 📦
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2857 +/- ##
=======================================
Coverage 94.05% 94.05%
=======================================
Files 150 150
Lines 3111 3111
Branches 402 402
=======================================
Hits 2926 2926
Misses 117 117
Partials 68 68 Continue to review full report in Codecov by Sentry.
|
Summary
Type
Summarise concisely:
What is expected?
Here is what has been fixed:
args
in all the stories in storybook because without it storybook display "no code available" on each stories. This is because storybook removed dynamic snippet rendering since the last version. That being said, we won't see any moreuseState()
and everything that compose a dynamic story in code snippet, we will only see the generated result out of it. I didn't find any other alternative yet. In the meaning time we need to show code snippet so here we go.Relevant logs and/or screenshots