Added icons

This commit is contained in:
Lucas Oliveira 2024-06-04 11:54:32 -03:00
commit ee705b548f

View file

@ -1,6 +1,7 @@
import { Link } from "react-router-dom";
import { cn } from "../../../../utils/utils";
import { buttonVariants } from "../../../ui/button";
import ForwardedIconComponent from "../../../genericIconComponent";
type SideBarButtonsComponentProps = {
items: {
@ -27,9 +28,10 @@ const SideBarButtonsComponent = ({
pathname === item.href
? "border border-border bg-muted hover:bg-muted"
: "border border-transparent hover:border-border hover:bg-transparent",
"w-full justify-start gap-2",
"w-full justify-start gap-3",
)}
>
{item.icon}
{item.title}
</div>
</Link>