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) 470 B
import { useShopActions as p } from "../../internal/useShopActions.js"; import { useShopActionInfiniteQuery as c } from "../../internal/reactQuery/useShopActionInfiniteQuery.js"; const a = (t) => { const { getRecentShops: e } = p(), { skip: o = !1, ...s } = t ?? {}, { data: n, ...r } = c( ["recentShops", s], e, s, { skip: o } ); return { ...r, shops: n }; }; export { a as useRecentShops }; //# sourceMappingURL=useRecentShops.js.map