-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Update knobs to controls in storybook: MetamaskTemplateRenderer #18498
Comments
Hey @georgewrmarshall I would like to work on this assignment. Could you please assign this to me? Thanks in advance!!! |
Assigned thanks @dpundir-vertex! |
Thanks @georgewrmarshall to assign me this. I have a query while checking the storyboard for MetamaskTemplateRenderer --> "With Invalid Element" Currently It is showing me following: I understand why it is showing because we are passing Is that the expected behavior when we change Knobs to Controls? Actually i am confused by seeing the error page. If that's fine we can go ahead because its used for Invalid element by the way. So it should show some error somehow. |
Hey @dj-pundir, I'm actually not sure why the knobs implementation is working. It should also error. I understand the intention of the story but I don't think it adds much value to show the thrown error. I think we could just remove the |
Description
Currently there are a few storybook stories still using knobs in our storybook files
*.stories.js
. knobs have been deprecated in favour of controls. It would be great to migrate these last stories from knobs to controls.This issue is to migrate the
ui/components/app/metamask-template-renderer/metamask-template-renderer.stories.js
from knobs to controlsRequirements
If you would like to take on this issue please comment but before asking to take on this issue there are a few requirements that will help complete this task:
yarn storybook
Technical Details
Acceptance Criteria
The text was updated successfully, but these errors were encountered: