This repository has been archived on 2022-12-05. You can view files and clone it, but cannot push or open issues or pull requests.
gosh-commerce/framework/shopify/index.tsx
2021-09-11 22:49:44 +00:00

10 lines
341 B
TypeScript

import { getCommerceProvider, useCommerce as useCoreCommerce } from '@commerce'
import { shopifyProvider, ShopifyProvider } from './provider'
export { shopifyProvider }
export type { ShopifyProvider }
export const CommerceProvider = getCommerceProvider(shopifyProvider)
export const useCommerce = () => useCoreCommerce<ShopifyProvider>()