@momo-kits/native-kits 0.160.1-searchBackground.5-debug → 0.160.1-searchBackground.6-debug

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.
@@ -40,7 +40,7 @@ kotlin {
40
40
  }
41
41
 
42
42
  cocoapods {
43
- version = "0.160.1-searchBackground.5-debug"
43
+ version = "0.160.1-searchBackground.6-debug"
44
44
  summary = "IOS Shared module"
45
45
  homepage = "https://momo.vn"
46
46
  ios.deploymentTarget = "15.0"
@@ -528,6 +528,7 @@ data class LiteInputSearchProps(
528
528
  val customSearchIcon: @Composable (() -> Unit)? = null,
529
529
  val customPlaceHolder: @Composable (() -> Unit)? = null,
530
530
  val customTextStyle: TextStyle? = null,
531
+ val customIconClear: @Composable (() -> Unit)? = null,
531
532
  val iconRightTextField: @Composable ((Modifier) -> Unit)? = null,
532
533
  )
533
534
 
@@ -645,7 +646,7 @@ private fun LiteInputSearch(
645
646
  }
646
647
 
647
648
  if (isShowClear) {
648
- Icon(
649
+ inputSearchProps.customIconClear?.invoke() ?: Icon(
649
650
  source = "24_navigation_close_circle_full",
650
651
  size = 16.dp,
651
652
  color = theme.colors.text.hint,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.160.1-searchBackground.5-debug",
3
+ "version": "0.160.1-searchBackground.6-debug",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},