diff --git a/apps/infoalloggi/src/components/custom_ui/multiselect.tsx b/apps/infoalloggi/src/components/custom_ui/multiselect.tsx index cb34f2b..3b8bdc5 100644 --- a/apps/infoalloggi/src/components/custom_ui/multiselect.tsx +++ b/apps/infoalloggi/src/components/custom_ui/multiselect.tsx @@ -1,12 +1,29 @@ import { useVirtualizer } from "@tanstack/react-virtual"; -import { type JSX, useRef, useState } from "react"; +import { + type HTMLInputAutoCompleteAttribute, + type JSX, + useRef, + useState, +} from "react"; import ReactSelect, { type CSSObjectWithLabel, + components, type GroupBase, + type InputProps, type MenuListProps, } from "react-select"; +import type {} from "react-select/base"; import { cn } from "~/lib/utils"; +declare module "react-select/base" { + export interface Props< + Option, + IsMulti extends boolean, + Group extends GroupBase