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) 476 B
import { useShopActions as i } from "../../internal/useShopActions.js"; import { useShopActionQuery as p } from "../../internal/reactQuery/useShopActionQuery.js"; const u = (e) => { const { getContent: n } = i(), { identifiers: t, skip: s = !1, ...o } = e, { data: r, ...c } = p( ["content", t, o], n, { identifiers: t, ...o }, { skip: s } ); return { ...c, content: r }; }; export { u as useContent }; //# sourceMappingURL=useContent.js.map