aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/bookmarks/icons.tsx
diff options
context:
space:
mode:
authorMd Saban <45597394+mdsaban@users.noreply.github.com>2024-07-02 03:51:23 +0530
committerGitHub <noreply@github.com>2024-07-01 23:21:23 +0100
commitd193d9bf89e8a88bf70b673ea5e438d73cf40c0c (patch)
tree56d260c0624b74bda054f8865c3bd2e166f49e8d /apps/web/components/dashboard/bookmarks/icons.tsx
parentbf92fa3386be331871963f99ec5c813186a388b3 (diff)
downloadkarakeep-d193d9bf89e8a88bf70b673ea5e438d73cf40c0c.tar.zst
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>
Diffstat (limited to '')
-rw-r--r--apps/web/components/dashboard/bookmarks/icons.tsx12
1 files changed, 8 insertions, 4 deletions
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} />
);
}