From 451783f07b410a4c30244575a71b4b9f31c1a010 Mon Sep 17 00:00:00 2001 From: Andrew <35735666+meatnordrink@users.noreply.github.com> Date: Mon, 4 Sep 2023 07:06:26 -0400 Subject: [PATCH] fix: apply accessible prop to touchable in Card.tsx (#4051) --- src/components/Card/Card.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/Card/Card.tsx b/src/components/Card/Card.tsx index f61e769088..54c574e99f 100644 --- a/src/components/Card/Card.tsx +++ b/src/components/Card/Card.tsx @@ -258,11 +258,7 @@ const Card = ({ }; const content = ( - + {React.Children.map(children, (child, index) => React.isValidElement(child) ? React.cloneElement(child as React.ReactElement, { @@ -311,6 +307,7 @@ const Card = ({ {hasPassedTouchHandler ? (