UNPKG

@redocly/theme

Version:

Shared UI components lib

25 lines (24 loc) 870 B
import React from 'react'; import type { SelectOption } from '../../core/types/select'; type SelectInputProps<T> = { id?: string; selectedOptions: SelectOption<T>[]; searchValue: any; stickyValue: any; onlyIcon?: boolean; icon?: React.ReactNode; customIcon?: React.ReactNode; placeholder?: string; multiple?: boolean; searchable?: boolean; clearable?: boolean; inputRef?: React.ForwardedRef<HTMLInputElement>; clearHandler?: (value?: any) => void; inputBlurHandler?: (e?: any) => void; inputFocusHandler?: (e?: any) => void; searchHandler?: (e?: any) => void; clickHandler?: (e?: any) => void; }; export declare function SelectInput<T>(props: SelectInputProps<T>): React.ReactNode; export declare const SelectInputWrapper: import("styled-components").StyledComponent<"div", any, {}, never>; export {};