UNPKG

@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) 507 B
import { useShopActions as a } from "../../internal/useShopActions.js"; import { useShopActionsPaginatedDataFetching as p } from "../../internal/useShopActionsPaginatedDataFetching.js"; const i = (o) => { const { getPopularProducts: t } = a(), { skip: s, ...r } = o ?? {}, { data: c, ...u } = p( t, r, { skip: s, hook: "usePopularProducts" } ); return { ...u, products: c }; }; export { i as usePopularProducts }; //# sourceMappingURL=usePopularProducts.js.map