react-crud-mobile 1.3.534 → 1.3.536

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/dist/index.js CHANGED
@@ -1047,11 +1047,15 @@ function UIListRow(props) {
1047
1047
  if (!original.click) {
1048
1048
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_react_native12.View, { style: getRowStyle(), ref: targetRef, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Child, {}) }, key);
1049
1049
  }
1050
+ const rowStyle = getRowStyle();
1050
1051
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1051
- import_react_native12.TouchableHighlight,
1052
+ import_react_native12.Pressable,
1052
1053
  {
1053
- style: getRowStyle(),
1054
- underlayColor: "transparent",
1054
+ style: ({ pressed }) => [
1055
+ rowStyle,
1056
+ pressed && { opacity: 0.5 }
1057
+ // ⭐ Aqui entra o efeito!
1058
+ ],
1055
1059
  ref: targetRef,
1056
1060
  onPress: (e) => {
1057
1061
  e.stopPropagation();