@momo-kits/step 0.77.8 → 0.78.2
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/StepsVertical.tsx +1 -1
- package/index.tsx +2 -1
- package/package.json +1 -1
package/StepsVertical.tsx
CHANGED
|
@@ -16,7 +16,7 @@ const StepsVertical: FC<StepsProps> = ({steps, activeIndex, size}) => {
|
|
|
16
16
|
|
|
17
17
|
const {backgroundColor, borderColor} = stepStyle;
|
|
18
18
|
const lineColor =
|
|
19
|
-
activeIndex
|
|
19
|
+
activeIndex > ii
|
|
20
20
|
? theme.colors.secondary
|
|
21
21
|
: theme.colors.background.default;
|
|
22
22
|
return (
|
package/index.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, {FC} from 'react';
|
|
2
2
|
import {View} from 'react-native';
|
|
3
|
-
import {StepsProps} from './types';
|
|
3
|
+
import {StepsProps, Step} from './types';
|
|
4
4
|
import StepsHorizontal from './StepsHorizontal';
|
|
5
5
|
import StepsVertical from './StepsVertical';
|
|
6
6
|
|
|
@@ -17,3 +17,4 @@ const Steps: FC<StepsProps> = ({horizontal = false, ...props}) => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
export default Steps;
|
|
20
|
+
export type {StepsProps, Step};
|