@momo-kits/step 0.169.17-beta.7 → 0.170.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/StepsHorizontal.tsx +2 -3
- package/package.json +1 -1
package/StepsHorizontal.tsx
CHANGED
|
@@ -84,7 +84,6 @@ const StepsHorizontal: FC<StepsProps> = ({
|
|
|
84
84
|
<View
|
|
85
85
|
style={[
|
|
86
86
|
styles.timeContainer,
|
|
87
|
-
styles.fullWidth,
|
|
88
87
|
{
|
|
89
88
|
minHeight: timeHeight,
|
|
90
89
|
},
|
|
@@ -107,7 +106,7 @@ const StepsHorizontal: FC<StepsProps> = ({
|
|
|
107
106
|
{renderStepIcon(item, index, align, disabled)}
|
|
108
107
|
{!!title && (
|
|
109
108
|
<Text
|
|
110
|
-
style={[styles.title,
|
|
109
|
+
style={[styles.title, { textAlign }]}
|
|
111
110
|
color={disabled ? theme.colors.text.disable : typoStyle.title.color}
|
|
112
111
|
typography={typoStyle.title.typography}
|
|
113
112
|
accessibilityLabel={`${accessibilityLabel}-title-${index}`}
|
|
@@ -117,7 +116,7 @@ const StepsHorizontal: FC<StepsProps> = ({
|
|
|
117
116
|
)}
|
|
118
117
|
{!!description && (
|
|
119
118
|
<Text
|
|
120
|
-
style={
|
|
119
|
+
style={{ textAlign }}
|
|
121
120
|
color={
|
|
122
121
|
disabled ? theme.colors.text.disable : typoStyle.description.color
|
|
123
122
|
}
|