@momo-kits/foundation 0.92.21-beta.1 → 0.92.21-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.
@@ -1,5 +1,5 @@
1
1
  import React, {FC, memo, useEffect, useRef} from 'react';
2
- import {StyleSheet, TextInput, TextStyle} from 'react-native';
2
+ import {Platform, StyleSheet, TextInput, TextStyle} from 'react-native';
3
3
  import {Colors} from '../Consts';
4
4
  import {scaleSize} from '../Text';
5
5
 
@@ -94,6 +94,7 @@ const TextTyping: FC<TextTypingProps> = ({
94
94
  editable={false}
95
95
  autoCorrect={false}
96
96
  pointerEvents={'none'}
97
+ numberOfLines={1}
97
98
  />
98
99
  );
99
100
  };
@@ -104,5 +105,9 @@ const styles = StyleSheet.create({
104
105
  inputStyle: {
105
106
  color: Colors.black_12,
106
107
  fontSize: scaleSize(12),
108
+ height: Platform.select({
109
+ android: 60,
110
+ ios: 36,
111
+ }),
107
112
  },
108
113
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.92.21-beta.1",
3
+ "version": "0.92.21-beta.2",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},