UNPKG

@etsoo/materialui

Version:

TypeScript Material-UI Implementation

22 lines (21 loc) 695 B
import { InputFieldProps } from "./InputField"; import { AutocompleteProps } from "@mui/material/Autocomplete"; export type TagListProps = Omit<AutocompleteProps<string, true, false, true>, "open" | "multiple" | "freeSolo" | "options" | "renderInput"> & { /** * Label */ label?: string; /** * Load data callback */ loadData: (keyword: string | undefined, maxItems: number) => PromiseLike<string[] | null | undefined>; /** * Input props */ inputProps?: Omit<InputFieldProps, "onChange">; /** * Max items */ maxItems?: number; }; export declare function TagList(props: TagListProps): import("react/jsx-runtime").JSX.Element;