@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) • 439 B
JavaScript
import { useShopActions as u } from "../../internal/useShopActions.js";
import { useShopActionQuery as p } from "../../internal/reactQuery/useShopActionQuery.js";
const d = (o) => {
const { getProducts: s } = u(), { skip: r = !1, ...t } = o, { data: c, ...e } = p(
["products", t],
s,
t,
{ skip: r }
);
return {
...e,
products: c
};
};
export {
d as useProducts
};
//# sourceMappingURL=useProducts.js.map