@momo-kits/foundation 0.151.1-beta.3 → 0.151.1-beta.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.
@@ -177,14 +177,13 @@ const BottomSheet: React.FC<BottomSheetParams> = props => {
177
177
  >
178
178
  <Icon source={leftOptions.iconLeft ?? 'ic_back'} />
179
179
  </TouchableOpacity>
180
- ) : (
181
- <View style={styles.iconButton} />
182
- )}
180
+ ) : null}
183
181
 
184
182
  {options.header ? (
185
183
  <View style={Styles.flex}>{options.header}</View>
186
184
  ) : (
187
185
  <>
186
+ {!leftOptions ? <View style={styles.iconButton} /> : null}
188
187
  <Text
189
188
  style={[Styles.flex, { textAlign: 'center' }]}
190
189
  numberOfLines={1}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.151.1-beta.3",
3
+ "version": "0.151.1-beta.4",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},