-
-
Notifications
You must be signed in to change notification settings - Fork 34
Started using knobs #193
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
base: master
Are you sure you want to change the base?
Started using knobs #193
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/code4romania/taskforce-fe-components/i3xuuvka7 |
|
Pros: You don't have to scroll to many instances of the same component in storybook: you have only one component with a UI to control all aspects of it. Cons: Might not be as intuitive how to use the component looking at the storybook code @moonflare , @Utwo Opinions? Before I start switching all components to use knobs :) |
|
I think it's more elegant with knobs but I don't know if it's worth the effort. |
too late 😅 |
What changed?
Using Storybook Knobs in order to control variations on a component.
Actions (optional)
../src/index.js