@cloudquery/plugin-ui-sdk
Version:
SDK for CloudQuery Plugin UI configuration
29 lines • 818 B
TypeScript
import { default as React } from 'react';
import { getFieldHelperText } from '../../utils/getFieldHelperText';
type OptionObject = {
value: any;
label: string;
};
/**
* @public
*/
export interface MultiAutocompleteProps {
value: any;
onChange: (value: any) => void;
onBlur: () => void;
disabled?: boolean | undefined;
name: string;
error?: boolean;
helperText?: ReturnType<typeof getFieldHelperText>;
label: string;
codeSeparators?: string[];
options?: (string | OptionObject)[];
}
/**
* MultiAutocomplete component is a multi value, free entry component.
*
* @public
*/
export declare const MultiAutocomplete: React.ForwardRefExoticComponent<MultiAutocompleteProps & React.RefAttributes<HTMLDivElement>>;
export {};
//# sourceMappingURL=multiAutocomplete.d.ts.map