mantine-entity
Version:
A library combining Mantine, TanStack Query, and Mantine React Table for efficient entity management
16 lines (15 loc) • 567 B
TypeScript
import { MultiSelectProps } from "@mantine/core";
import React from "react";
import { DataItem } from "../model";
declare const AsyncMultiSelect: React.ForwardRefExoticComponent<{
dataSource?: {
valueKey?: string;
labelKey?: string | string[];
url?: string;
method?: string;
mapData?: (data: any) => DataItem[] | undefined;
getBaseUrl?: (path: string) => string;
httpGet?: (url: string) => Promise<any>;
};
} & MultiSelectProps & React.RefAttributes<HTMLInputElement>>;
export default AsyncMultiSelect;