Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

229 B
Raw Blame
import { createContext } from "react"

type SearchContextValue = {
  open: boolean
  onOpenChange: (open: boolean) => void
  toggleSearch: () => void
}

export const SearchContext = createContext<SearchContextValue | null>(null)