-
Notifications
You must be signed in to change notification settings - Fork 17
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
Copy knob state URL looses value type #1
Comments
FYI, we’ve released Please upgrade and try out controls today! |
Appreciate the heads up. |
@Silic0nS0ldier Yes, they can exist side by side, possibly even in the same story/component. But I'd probably convert them file by file, i.e. when you touch a component's stories, convert them all into controls in one shot. |
I'll take a stab at fixing this. |
Describe the bug
The knobs addon supports copying a URL with existing knob states. Some knobs may use a number as the value, however they are casted to a string when restoring knob state using the copied URL.
To Reproduce
https://github.com/Silic0nS0ldier/storybook-knobs-copy-bug
System
Additional context
NA
The text was updated successfully, but these errors were encountered: