blob: d899f19d472cb2fc4fe47e472f7d15d467cfefcf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
import { Archive, ArchiveRestore, Star } from "lucide-react";
export function FavouritedActionIcon({
favourited,
className,
}: {
favourited: boolean;
className?: string;
}) {
return favourited ? (
<Star className={className} color="#ebb434" fill="#ebb434" />
) : (
<Star className={className} />
);
}
export function ArchivedActionIcon({
archived,
className,
}: {
archived: boolean;
className?: string;
}) {
return archived ? (
<ArchiveRestore className={className} />
) : (
<Archive className={className} />
);
}
|