Skip to content

Commit 362c982

Browse files
Remove thumbSize from props of StepsIndicator
There's no scenario in which, currently, `StepsIndicator` component would be used with any custom `thumbSize` provided. So for now, let's just remove it and replace it's only call with `constants.THUMB_SIZE`
1 parent 08dfd93 commit 362c982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/src/components/StepsIndicator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const StepsIndicator = ({
4747
stepIndicatorElementStyle: isWeb
4848
? {
4949
...styles.stepIndicatorElement,
50-
width: thumbSize,
50+
width: constants.THUMB_SIZE,
5151
justifyContent: 'space-between' as const,
5252
}
5353
: styles.stepIndicatorElement,

0 commit comments

Comments
 (0)