Skip to content

Commit

Permalink
fix: 修复图标 class 类名
Browse files Browse the repository at this point in the history
  • Loading branch information
raylotan committed Sep 18, 2024
1 parent d13d1e6 commit 2265991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stepper/Stepper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const Stepper = forwardRef<HTMLDivElement, StepperProps>((originProps, ref) => {
})}
onClick={minusValue}
>
<RemoveIcon className={`${currentValue}__minus-icon`} />
<RemoveIcon className={`${baseClass}__minus-icon`} />
</div>
<input
value={currentValue}
Expand All @@ -139,7 +139,7 @@ const Stepper = forwardRef<HTMLDivElement, StepperProps>((originProps, ref) => {
})}
onClick={plusValue}
>
<AddIcon className={`${currentValue}__plus-icon`} />
<AddIcon className={`${baseClass}__plus-icon`} />
</div>
</div>,
);
Expand Down

0 comments on commit 2265991

Please sign in to comment.