import type { PropsWithChildren } from 'react'; import { StreamSearchContext } from '../contexts/StreamSearchContext'; import type { SearchController } from '../../../common/search'; /** * The props for the StreamSearch component. It accepts a `SearchController` instance. */ export type StreamSearchProps = { searchController: SearchController | undefined; }; export const StreamSearch = ({ searchController, children, }: PropsWithChildren) => { return ( {children} ); }; StreamSearch.displayName = 'StreamSearch';