From e974d7ef60b36e9af826fdde84ee78499dc9bb8c Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Wed, 23 Apr 2025 11:08:50 -0400 Subject: [PATCH] feat: redesign chip attribute --- app/components/Attribute.tsx | 61 +++++++++++++++++------------------- 1 file changed, 29 insertions(+), 32 deletions(-) diff --git a/app/components/Attribute.tsx b/app/components/Attribute.tsx index d67b6f5..fad9457 100644 --- a/app/components/Attribute.tsx +++ b/app/components/Attribute.tsx @@ -6,41 +6,35 @@ export interface AttributeProps { name: string; value: string; isCopyable?: boolean; - link?: string; - suppressHydrationWarning?: boolean; } -export default function Attribute({ - name, - value, - link, - isCopyable, - suppressHydrationWarning, -}: AttributeProps) { +export default function Attribute({ name, value, isCopyable }: AttributeProps) { return ( -
-
- {link ? ( - - {name} - - ) : ( - name +
+
+ {name}
{isCopyable ? ( ) : ( - value +
+ {value} +
)}