@shopify/shop-minis-react
Version:
React component library for Shopify Shop Minis with Tailwind CSS v4 support (source-only, requires TypeScript)
14 lines (13 loc) • 357 B
JavaScript
import { useHandleAction as o } from "../../internal/useHandleAction.js";
import { useShopActions as u } from "../../internal/useShopActions.js";
const n = () => {
const { addToCart: t, buyProduct: r } = u();
return {
addToCart: o(t),
buyProduct: o(r)
};
};
export {
n as useShopCartActions
};
//# sourceMappingURL=useShopCartActions.js.map