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) 484 B
import { useShopActions as c } from "../../internal/useShopActions.js"; import { useShopActionInfiniteQuery as n } from "../../internal/reactQuery/useShopActionInfiniteQuery.js"; const a = (t) => { const { getPopularProducts: r } = c(), { skip: s, ...o } = t ?? {}, { data: p, ...u } = n( ["popularProducts", o], r, o, { skip: s } ); return { ...u, products: p }; }; export { a as usePopularProducts }; //# sourceMappingURL=usePopularProducts.js.map