Skip to content

Commit

Permalink
fix: symbol label class
Browse files Browse the repository at this point in the history
  • Loading branch information
astagi committed Feb 13, 2025
1 parent 00a725e commit 86d01d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,8 @@ export const Input = ({
};

if (['currency', 'percentage', 'adaptive', 'number'].includes(type)) {
if (containerProps.extraLabelClass) {
if (containerProps.extraLabelClass && ['currency', 'percentage'].includes(type)) {
containerProps.extraLabelClass = containerProps.extraLabelClass + ' input-symbol-label';
} else {
containerProps.extraLabelClass = 'input-symbol-label';
}
return (
<InputContainer {...containerProps}>
Expand Down

0 comments on commit 86d01d8

Please sign in to comment.