/** * This is a simple version of its business logic. The intent it to have * an example of the hooks and components so store implementors can tweek * and implement their own based on their own needs. However, this should * cover 80% of use cases. */ import type { FC, ReactNode, ComponentPropsWithoutRef } from 'react'; import type { PopoverInitialState } from 'reakit/Popover'; import SearchBarProvider from './hooks/Provider'; export interface Props { variant?: string; placeholder: string; 'aria-label': string; popoverState?: PopoverInitialState; icon?: ReactNode; children: JSX.Element; onSearch: ComponentPropsWithoutRef['onSearch']; } declare const SearchBar: FC; export default SearchBar;