text: import { useState, createContext } from 'react';
  
  const SearchContext = createContext();
  
  const SearchProvider = ({ children }) => {
  
      const [search, setSearch] = useState(null);
  
      return(
          <SearchContext.Provider value={[search, setSearch]}>
              {children}
          </SearchContext.Provider>
      )
  }
  
  export { SearchContext, SearchProvider};