UNPKG

@shopify/shop-minis-react

Version:

React component library for Shopify Shop Minis with Tailwind CSS v4 support (source-only, requires TypeScript)

19 lines (18 loc) 483 B
import { useShopActions as e } from "../../internal/useShopActions.js"; import { useShopActionInfiniteQuery as i } from "../../internal/reactQuery/useShopActionInfiniteQuery.js"; const p = (r) => { const { getProductVariants: s } = e(), { skip: o = !1, ...t } = r, { data: a, ...n } = i( ["productVariants", t], s, t, { skip: o } ); return { ...n, variants: a }; }; export { p as useProductVariants }; //# sourceMappingURL=useProductVariants.js.map