1 import { SpotlightProvider } from '../../components/useSpotlight';
2 import { SearchLibraryProvider } from './useSearchLibrary';
3 import { SearchResultsProvider } from './useSearchResults';
5 export { default as useSearchLibrary } from './useSearchLibrary';
6 export { default as useSearchResults } from './useSearchResults';
8 export function SearchProvider({ children }: { children: React.ReactNode }) {
10 <SearchLibraryProvider>
11 <SearchResultsProvider>
12 <SpotlightProvider>{children}</SpotlightProvider>
13 </SearchResultsProvider>
14 </SearchLibraryProvider>