-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
feat(InputNumber): adding label element in InputNumber Component and … #3501
Conversation
✅ Deploy Preview for ohif-dev canceled.
|
✅ Deploy Preview for ohif-platform-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov Report
@@ Coverage Diff @@
## master #3501 +/- ##
=======================================
Coverage 38.27% 38.27%
=======================================
Files 82 82
Lines 1348 1348
Branches 303 303
=======================================
Hits 516 516
Misses 666 666
Partials 166 166 Continue to review full report in Codecov by Sentry.
|
Could we please have some images showing what this looks like? |
@@ -14,6 +15,7 @@ import './InputNumber.css'; | |||
|
|||
const sizesClasses = { | |||
sm: 'w-[45px] h-[28px]', | |||
bg: 'w-[206px] h-[35px]', |
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.
if by bg you mean big? I prefer lg to be more consistent with the rest of the code
can you fix the CI error? |
it seems ok, it just a network issue |
@@ -76,6 +82,8 @@ const InputNumber: React.FC<{ | |||
); | |||
|
|||
return ( | |||
<div className={'flex flex-col flex-1'}> | |||
<Label className={labelClassName} text={label}></Label> |
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.
this should have a gaurd for the label
label &&
…export it
Context
Export the InputNumber component and adding a l label
Changes & Results
Testing
Checklist
PR
semantic-release format and guidelines.
Code
etc.)
Public Documentation Updates
additions or removals.
Tested Environment