From f24cfc32734a168254f0c0e4889a989bb69ee444 Mon Sep 17 00:00:00 2001
From: sowgro <tpoke.ferrari@gmail.com>
Date: Tue, 15 Oct 2024 23:20:33 -0400
Subject: populate widgets with actual bookmarks

---
 extension/src/Bookmark.tsx | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 extension/src/Bookmark.tsx

(limited to 'extension/src/Bookmark.tsx')

diff --git a/extension/src/Bookmark.tsx b/extension/src/Bookmark.tsx
new file mode 100644
index 0000000..d9652a4
--- /dev/null
+++ b/extension/src/Bookmark.tsx
@@ -0,0 +1,16 @@
+interface BookmarkProps {
+    name: string;
+    url: string;
+    icon: string;
+}
+
+function Bookmark(props: BookmarkProps) {
+    return(
+        <a className="bookmark" href={props.url}>
+            <img alt="Bookmark icon" src={props.icon}></img>
+            <span>{props.name}</span>
+        </a>
+    );
+}
+
+export default Bookmark;
\ No newline at end of file
-- 
cgit v1.2.3

