From 0b5dc72db52c02ee17ebe61dcfe7e5d7baa0dedf Mon Sep 17 00:00:00 2001 From: Saurabh Daware Date: Fri, 27 Dec 2024 15:46:14 +0530 Subject: [PATCH] fix(Card): interactive card selected borderRadius (#2452) * fix: card borderRadius * Create curvy-lobsters-sip.md --- .changeset/curvy-lobsters-sip.md | 5 +++++ packages/blade/src/components/Card/Card.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/curvy-lobsters-sip.md diff --git a/.changeset/curvy-lobsters-sip.md b/.changeset/curvy-lobsters-sip.md new file mode 100644 index 00000000000..b8d5c18405e --- /dev/null +++ b/.changeset/curvy-lobsters-sip.md @@ -0,0 +1,5 @@ +--- +"@razorpay/blade": patch +--- + +fix: interactive card selected borderRadius diff --git a/packages/blade/src/components/Card/Card.tsx b/packages/blade/src/components/Card/Card.tsx index 8b4630c14c3..dcc29c42c3a 100644 --- a/packages/blade/src/components/Card/Card.tsx +++ b/packages/blade/src/components/Card/Card.tsx @@ -224,7 +224,7 @@ const _Card: React.ForwardRefRenderFunction = ( as={as} ref={ref as never} display={'block' as never} - borderRadius="medium" + borderRadius={borderRadius} onMouseEnter={onHover as never} shouldScaleOnHover={shouldScaleOnHover} isSelected={isSelected}