UNPKG

rharuow-ds

Version:

Modern React Design System with 8 components: Button, Input (with password support), Textarea, Select, AsyncSelect, MultiSelect, MultiAsyncSelect, and RadioGroup. Full React Hook Form integration, Tailwind CSS styling, and CSS Variables for theme customiz

18 lines (17 loc) 699 B
import * as React from "react"; import type { SelectOption } from "./types"; export interface MultiAsyncSelectProps extends Omit<React.SelectHTMLAttributes<HTMLDivElement>, 'options'> { name: string; label?: string; loadOptions: (inputValue?: string) => Promise<SelectOption[]>; containerClassName?: string; isClearable?: boolean; defaultOptions?: SelectOption[] | boolean; loadingMessage?: string; noOptionsMessage?: string; searchable?: boolean; debounceMs?: number; maxSelectedDisplay?: number; } declare const MultiAsyncSelect: React.ForwardRefExoticComponent<MultiAsyncSelectProps & React.RefAttributes<HTMLDivElement>>; export { MultiAsyncSelect };