🎨 style(DisclosureComponent): replace ChevronRightIcon with ChevronRight from lucide-react to improve consistency with other icons

🎨 style(extraSidebarComponent): remove unused import of MagnifyingGlassIcon from heroicons-react/outline to improve code readability
This commit is contained in:
Cristhian Zanforlin Lousa 2023-06-22 19:35:00 -03:00
commit 6ac10679a4
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,7 @@
import { ChevronRightIcon } from "@heroicons/react/24/solid";
import { Disclosure } from "@headlessui/react";
import { DisclosureComponentType } from "../../../../types/components";
import { ChevronRight } from "lucide-react";
export default function DisclosureComponent({
button: { title, Icon, buttons = [] },
@ -26,7 +27,7 @@ export default function DisclosureComponent({
</button>
))}
<div>
<ChevronRightIcon
<ChevronRight
className={`${
open || openDisc ? "rotate-90 transform" : ""
} h-4 w-4 text-gray-800 dark:text-white`}

View file

@ -9,7 +9,6 @@ import {
import { useContext, useState } from "react";
import { typesContext } from "../../../../contexts/typesContext";
import { APIClassType, APIObjectType } from "../../../../types/api";
import { MagnifyingGlassIcon } from "@heroicons/react/24/outline";
import ShadTooltip from "../../../../components/ShadTooltipComponent";
import { Code2, FileDown, FileUp, Save, Search } from "lucide-react";
import { PopUpContext } from "../../../../contexts/popUpContext";