@momo-kits/stepper 0.157.2-test.1 → 0.158.1-beta.1
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/index.tsx +1 -3
- package/package.json +1 -1
package/index.tsx
CHANGED
|
@@ -11,7 +11,7 @@ import StepperButton from './StepperButton';
|
|
|
11
11
|
import {DisabledStatus, StepperProps} from './types';
|
|
12
12
|
import styles from './styles';
|
|
13
13
|
import NumberView from './NumberView';
|
|
14
|
-
import {MiniAppContext, ScreenContext
|
|
14
|
+
import {MiniAppContext, ScreenContext} from '@momo-kits/foundation';
|
|
15
15
|
|
|
16
16
|
const Stepper = forwardRef(
|
|
17
17
|
(
|
|
@@ -28,7 +28,6 @@ const Stepper = forwardRef(
|
|
|
28
28
|
}: StepperProps,
|
|
29
29
|
ref
|
|
30
30
|
) => {
|
|
31
|
-
useScreenRegistry('Stepper');
|
|
32
31
|
const [value, setValue] = useState(defaultValue);
|
|
33
32
|
|
|
34
33
|
const app = useContext<any>(MiniAppContext);
|
|
@@ -136,6 +135,5 @@ const Stepper = forwardRef(
|
|
|
136
135
|
}
|
|
137
136
|
);
|
|
138
137
|
|
|
139
|
-
Stepper.displayName = 'Stepper';
|
|
140
138
|
export {Stepper};
|
|
141
139
|
export type {StepperProps};
|