-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
NumberControl: Convert knobs to controls in Storybook #41849
Conversation
disabled: false, | ||
hideLabelFromVision: false, | ||
isPressEnterToChange: false, | ||
isShiftStepEnabled: true, | ||
label: 'Number', | ||
min: 0, | ||
max: 100, | ||
placeholder: '0', | ||
required: false, | ||
shiftStep: 10, | ||
step: '1', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As always, most of these can be removed after migrating the component to TypeScript.
Size Change: 0 B Total Size: 1.24 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Testet the story and everything works as expected. Not sure we need it when only a story is changed, but missing an entry in the changelog.
Part of #35665
What?
Removes knobs in the NumberControl story.
Why?
In preparation for adding a new
__unstable-size
prop to add a 40px variant.Testing Instructions
npm run storybook:dev