From d193d9bf89e8a88bf70b673ea5e438d73cf40c0c Mon Sep 17 00:00:00 2001
From: Md Saban <45597394+mdsaban@users.noreply.github.com>
Date: Tue, 2 Jul 2024 03:51:23 +0530
Subject: feat: Add bulk edit option for bookmarks. Fixes #84 (#259)

* feat: add bulk edit option for bookmarks

* fix: resolve comments

* fix: resolve comments

* fix: resolve comments

* fix: resolve comments

* rename bulk action store, simplify the bulk action toolbar

---------

Co-authored-by: MohamedBassem <me@mbassem.com>
---
 apps/web/components/dashboard/bookmarks/icons.tsx | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

(limited to 'apps/web/components/dashboard/bookmarks/icons.tsx')

diff --git a/apps/web/components/dashboard/bookmarks/icons.tsx b/apps/web/components/dashboard/bookmarks/icons.tsx
index d899f19d..04e3ff32 100644
--- a/apps/web/components/dashboard/bookmarks/icons.tsx
+++ b/apps/web/components/dashboard/bookmarks/icons.tsx
@@ -3,27 +3,31 @@ import { Archive, ArchiveRestore, Star } from "lucide-react";
 export function FavouritedActionIcon({
   favourited,
   className,
+  size,
 }: {
   favourited: boolean;
   className?: string;
+  size?: number;
 }) {
   return favourited ? (
-    <Star className={className} color="#ebb434" fill="#ebb434" />
+    <Star size={size} className={className} color="#ebb434" fill="#ebb434" />
   ) : (
-    <Star className={className} />
+    <Star size={size} className={className} />
   );
 }
 
 export function ArchivedActionIcon({
   archived,
   className,
+  size,
 }: {
   archived: boolean;
   className?: string;
+  size?: number;
 }) {
   return archived ? (
-    <ArchiveRestore className={className} />
+    <ArchiveRestore size={size} className={className} />
   ) : (
-    <Archive className={className} />
+    <Archive size={size} className={className} />
   );
 }
-- 
cgit v1.3-1-g0d28

