@momo-kits/suggest-action 0.157.2-test.1 → 0.158.1-beta.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.
@@ -14,7 +14,6 @@ import {
14
14
  Image,
15
15
  Shadow,
16
16
  Text,
17
- useScreenRegistry,
18
17
  } from '@momo-kits/foundation';
19
18
  import styles from './styles';
20
19
 
@@ -35,7 +34,6 @@ const SuggestAction: ForwardRefRenderFunction<
35
34
  },
36
35
  ref
37
36
  ) => {
38
- useScreenRegistry('SuggestAction');
39
37
  const {theme} = useContext(ApplicationContext);
40
38
  const opacity = useRef(new Animated.Value(0)).current;
41
39
 
@@ -122,7 +120,5 @@ const SuggestAction: ForwardRefRenderFunction<
122
120
  );
123
121
  };
124
122
 
125
- const ForwardedSuggestAction = forwardRef(SuggestAction);
126
- ForwardedSuggestAction.displayName = 'SuggestAction';
127
- export default ForwardedSuggestAction;
123
+ export default forwardRef(SuggestAction);
128
124
  export type {SuggestActionRef, SuggestActionProps};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/suggest-action",
3
- "version": "0.157.2-test.1",
3
+ "version": "0.158.1-beta.2",
4
4
  "private": false,
5
5
  "main": "index.tsx",
6
6
  "peerDependencies": {