Skip to main content

EntityAutocompletePickerProps

Home > @backstage/plugin-catalog-react > EntityAutocompletePickerProps

Signature:

export type EntityAutocompletePickerProps<T extends DefaultEntityFilters = DefaultEntityFilters, Name extends AllowedEntityFilters<T> = AllowedEntityFilters<T>> = {
label: string;
name: Name;
path: string;
showCounts?: boolean;
Filter: {
new (values: string[]): NonNullable<T[Name]>;
};
InputProps?: TextFieldProps;
initialSelectedOptions?: string[];
filtersForAvailableValues?: Array<keyof T>;
};

References: DefaultEntityFilters, AllowedEntityFilters