diff --git a/components/Dropdown.tsx b/components/Dropdown.tsx index d155db7..27502ba 100644 --- a/components/Dropdown.tsx +++ b/components/Dropdown.tsx @@ -1,11 +1,10 @@ import { Fragment, useEffect, useRef, useState } from 'react' import { Menu, Transition } from '@headlessui/react' -import { ChevronDownIcon } from '@heroicons/react/20/solid' import { DropdownProps } from '../types/dropdown'; import { combineClassNames } from '../../javascript-functions/general'; import { SELECT_ALL, checkDropdownProps, prepareDropdownOptionsToArray, setOptionsWithSearchBar } from '../helpers/dropdown-helper'; import { Tooltip } from '@nextui-org/react'; -import { IconTrashXFilled } from '@tabler/icons-react'; +import { IconChevronDown, IconTrashXFilled } from '@tabler/icons-react'; import useOnClickOutside from '../hooks/useHooks/useOnClickOutside'; export default function Dropdown(props: DropdownProps) { @@ -107,7 +106,7 @@ export default function Dropdown(props: DropdownProps) { className="h-9 w-full text-sm border-gray-300 rounded-md placeholder-italic border text-gray-900 pr-8 pl-4 truncate placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-gray-300 focus:ring-offset-2 focus:ring-offset-gray-100" placeholder="Type to search..." /> - @@ -116,7 +115,7 @@ export default function Dropdown(props: DropdownProps) { focus:ring-gray-300 focus:ring-offset-2 focus:ring-offset-gray-100 disabled:opacity-50 disabled:cursor-not-allowed ${props.buttonClasses ?? ''}`} disabled={isDisabled && !props.hasCheckboxes}> {props.buttonName} - diff --git a/components/InfoButton.tsx b/components/InfoButton.tsx index 0a12de5..f253cb9 100644 --- a/components/InfoButton.tsx +++ b/components/InfoButton.tsx @@ -2,7 +2,6 @@ import { combineClassNames } from "@/submodules/javascript-functions/general"; import { useDefaults } from "@/submodules/react-components/hooks/useDefaults"; import { IconInfoCircle } from "@tabler/icons-react"; import { Dispatch, Fragment, SetStateAction, useEffect, useRef, useState } from "react"; -import { InformationCircleIcon } from "@heroicons/react/20/solid"; import useOnClickOutside from "@/submodules/react-components/hooks/useHooks/useOnClickOutside"; import { Transition } from "@headlessui/react"; import { INFO_BUTTON_DEFAULT_VALUES, InfoButtonConfig, InfoButtonProps } from "../types/infoButton"; @@ -45,7 +44,7 @@ export function InfoButton(_props: InfoButtonProps) { if (!config) return null; - return <> + return (
{content}
: content}