UNPKG

@pagopa/mui-italia

Version:

[Material-UI](https://mui.com/core/) theme inspired by [Bootstrap Italia](https://italia.github.io/bootstrap-italia/).

22 lines (21 loc) 958 B
import { ComponentType, ReactNode, RefObject } from 'react'; type Props<T> = { multiple: boolean; filteredOptions: Array<T>; selectedOptions: T | Array<T> | null; getOptionLabel: (option: T) => string; isOptionEqualToValue?: (option: T, value: T) => boolean; handleOptionSelect: (option: T) => void; listboxId: string; listboxRef: RefObject<HTMLUListElement>; inputId: string; activeIndex: number; setActiveIndex: (index: number) => void; renderOption?: (option: T, index: number) => ReactNode; loading?: boolean; slots?: { loadingSkeleton?: ComponentType; }; }; declare const AutocompleteContent: <T>({ multiple, filteredOptions, selectedOptions, getOptionLabel, isOptionEqualToValue, handleOptionSelect, listboxId, listboxRef, inputId, activeIndex, setActiveIndex, renderOption, loading, slots, }: Props<T>) => import("react/jsx-runtime").JSX.Element; export default AutocompleteContent;