@grafana/ui
Version:
Grafana Components Library
3 lines (2 loc) • 1.13 kB
TypeScript
import { SelectBaseProps } from './types';
export declare function SelectBase<T, Rest = {}>({ allowCustomValue, allowCreateWhileLoading, 'aria-label': ariaLabel, 'data-testid': dataTestid, autoFocus, backspaceRemovesValue, blurInputOnSelect, cacheOptions, className, closeMenuOnSelect, components, createOptionPosition, defaultOptions, defaultValue, disabled, filterOption, formatCreateLabel, getOptionLabel, getOptionValue, inputValue, invalid, isClearable, id, isLoading, isMulti, inputId, isOpen, isOptionDisabled, isSearchable, loadOptions, loadingMessage, maxMenuHeight, minMenuHeight, maxVisibleValues, menuPlacement, menuPosition, menuShouldPortal, noOptionsMessage, onBlur, onChange, onCloseMenu, onCreateOption, onInputChange, onKeyDown, onMenuScrollToBottom, onMenuScrollToTop, onOpenMenu, onFocus, toggleAllOptions, openMenuOnFocus, options, placeholder, prefix, renderControl, showAllSelectedWhenOpen, tabSelectsValue, value, virtualized, noMultiValueWrap, width, isValidNewOption, formatOptionLabel, hideSelectedOptions, selectRef, ...rest }: SelectBaseProps<T> & Rest): import("react/jsx-runtime").JSX.Element;