@expofp/floorplan
Version:
Interactive floor plan library for expos and events
21 lines • 768 B
TypeScript
import './Autocomplete.scss';
import React from 'react';
export interface AutocompleteOptionObject {
value: string;
label: string;
exhibitorId?: number;
}
export interface AutocompleteProps {
placeholder: string;
options: AutocompleteOptionObject[];
value?: AutocompleteOptionObject;
showClear?: boolean;
onChange?: (value: AutocompleteOptionObject | undefined) => void;
renderTarget?: HTMLElement | null;
noOptionsLabel: string;
ariaLabel: string;
clearLabel: string;
}
declare const Autocomplete: ({ placeholder, options, value, showClear, onChange, renderTarget, noOptionsLabel, ariaLabel, clearLabel, }: AutocompleteProps) => React.JSX.Element;
export default Autocomplete;
//# sourceMappingURL=Autocomplete.d.ts.map