@shopify/shop-minis-react
Version:
React component library for Shopify Shop Minis with Tailwind CSS v4 support (source-only, requires TypeScript)
21 lines (20 loc) • 523 B
JavaScript
import { useShopActions as r } from "../../internal/useShopActions.js";
import { useShopActionsPaginatedDataFetching as d } from "../../internal/useShopActionsPaginatedDataFetching.js";
const a = (o) => {
const { getRecommendedProducts: t } = r(), { skip: e, ...s } = o ?? {}, { data: c, ...n } = d(
t,
s,
{
skip: e,
hook: "useRecommendedProducts"
}
);
return {
...n,
products: c
};
};
export {
a as useRecommendedProducts
};
//# sourceMappingURL=useRecommendedProducts.js.map