Skip to content

Commit

Permalink
🔨 chore: add JSDoc comment for LinkCard component
Browse files Browse the repository at this point in the history
  • Loading branch information
kjy5 authored and gitbutler-client committed Feb 13, 2024
1 parent 5b2fdc7 commit b18a809
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/link-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ function LinkContent(props: { title: string; description: string; faviconSrc: st
);
}

/**
* Visual organization of a hyperlink.
* @param linkMeta The metadata of the hyperlink.
* @constructor
*/
function LinkCard({ linkMeta }: { linkMeta: LinkMeta }) {
return (
<Link href={linkMeta.url} underline={'none'}>
Expand Down

0 comments on commit b18a809

Please sign in to comment.