🎨 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:
parent
9236ee21c8
commit
6ac10679a4
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
import { ChevronRightIcon } from "@heroicons/react/24/solid";
|
import { ChevronRightIcon } from "@heroicons/react/24/solid";
|
||||||
import { Disclosure } from "@headlessui/react";
|
import { Disclosure } from "@headlessui/react";
|
||||||
import { DisclosureComponentType } from "../../../../types/components";
|
import { DisclosureComponentType } from "../../../../types/components";
|
||||||
|
import { ChevronRight } from "lucide-react";
|
||||||
|
|
||||||
export default function DisclosureComponent({
|
export default function DisclosureComponent({
|
||||||
button: { title, Icon, buttons = [] },
|
button: { title, Icon, buttons = [] },
|
||||||
|
|
@ -26,7 +27,7 @@ export default function DisclosureComponent({
|
||||||
</button>
|
</button>
|
||||||
))}
|
))}
|
||||||
<div>
|
<div>
|
||||||
<ChevronRightIcon
|
<ChevronRight
|
||||||
className={`${
|
className={`${
|
||||||
open || openDisc ? "rotate-90 transform" : ""
|
open || openDisc ? "rotate-90 transform" : ""
|
||||||
} h-4 w-4 text-gray-800 dark:text-white`}
|
} h-4 w-4 text-gray-800 dark:text-white`}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ import {
|
||||||
import { useContext, useState } from "react";
|
import { useContext, useState } from "react";
|
||||||
import { typesContext } from "../../../../contexts/typesContext";
|
import { typesContext } from "../../../../contexts/typesContext";
|
||||||
import { APIClassType, APIObjectType } from "../../../../types/api";
|
import { APIClassType, APIObjectType } from "../../../../types/api";
|
||||||
import { MagnifyingGlassIcon } from "@heroicons/react/24/outline";
|
|
||||||
import ShadTooltip from "../../../../components/ShadTooltipComponent";
|
import ShadTooltip from "../../../../components/ShadTooltipComponent";
|
||||||
import { Code2, FileDown, FileUp, Save, Search } from "lucide-react";
|
import { Code2, FileDown, FileUp, Save, Search } from "lucide-react";
|
||||||
import { PopUpContext } from "../../../../contexts/popUpContext";
|
import { PopUpContext } from "../../../../contexts/popUpContext";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue