From a0480f5b7d23edd43d934fd085a1b3b0252999c0 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 1 Jul 2024 14:26:55 -0500 Subject: [PATCH] Pass through props to ProfileCard.Link --- src/components/ProfileCard.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/ProfileCard.tsx b/src/components/ProfileCard.tsx index c61e7e7e6c..77016d4fe9 100644 --- a/src/components/ProfileCard.tsx +++ b/src/components/ProfileCard.tsx @@ -91,14 +91,20 @@ export function Header({ return {children} } -export function Link({did, children}: {did: string} & Omit) { +export function Link({ + did, + children, + style, + ...rest +}: {did: string} & Omit) { return ( + style={[a.flex_col, style]} + {...rest}> {children} )