From b53bed9e912f0226d84a711c3b87172954ca8688 Mon Sep 17 00:00:00 2001 From: d3v1l0n Date: Sat, 11 Jan 2025 14:26:23 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20style:=20in=20style=20label?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PackageCard/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/PackageCard/index.tsx b/src/components/PackageCard/index.tsx index d944bc3..dc0e806 100644 --- a/src/components/PackageCard/index.tsx +++ b/src/components/PackageCard/index.tsx @@ -37,6 +37,7 @@ export function PackageCard({ package: pkg }: PackageCardProps) { setExpanded(!expanded)} + aria-label={expanded ? 'Collapse package details' : 'Expand package details'} /> @@ -51,4 +52,4 @@ export function PackageCard({ package: pkg }: PackageCardProps) { )} ); -} +} \ No newline at end of file