UNPKG

@ferdiunal/refinedev-shadcn-ui

Version:
12 lines 681 B
import { Command as CommandPrimitive } from "cmdk"; import { BaseOption, BaseRecord, UseSelectReturnType } from "@refinedev/core"; import { ComponentPropsWithoutRef } from "react"; type ComboboxProps = Omit<ComponentPropsWithoutRef<typeof CommandPrimitive>, "onChange|onValueChange|value"> & UseSelectReturnType<BaseOption, any> & { placeholder?: string; emptyMessage?: string; onChange?: (value: string | number) => void; value?: string | number | BaseRecord; }; export declare const Combobox: import("react").ForwardRefExoticComponent<Omit<ComboboxProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>; export {}; //# sourceMappingURL=combobox.d.ts.map