@qite/tide-booking-component
Version:
React Booking wizard & Booking product component for Tide
16 lines (15 loc) • 456 B
TypeScript
import React from 'react';
import { TypeaheadOption } from '../../types';
interface SearchInputProps {
onChange: (input: string) => void;
searchResults: TypeaheadOption[];
onOptionSelect: (val: TypeaheadOption) => void;
highlightTarget: string;
label: string;
isSecondInput?: boolean;
isDoubleInput?: boolean;
isDisabled?: boolean;
isLoading?: boolean;
}
declare const SearchInput: React.FC<SearchInputProps>;
export default SearchInput;