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.

349 B
Raw Blame
import { createContext } from "react"
import { ConditionalPriceInfo } from "../../types"

type ShippingOptionPriceContextType = {
  onOpenConditionalPricesModal: (info: ConditionalPriceInfo) => void
  onCloseConditionalPricesModal: () => void
}

export const ShippingOptionPriceContext =
  createContext<ShippingOptionPriceContextType | null>(null)