UNPKG

@shopify/shop-minis-react

Version:

React component library for Shopify Shop Minis with Tailwind CSS v4 support (source-only, requires TypeScript)

23 lines (22 loc) 491 B
import { jsx as e } from "react/jsx-runtime"; import { useShopActions as n } from "../../internal/useShopActions.js"; import { LongPressDetector as s } from "./long-press-detector.js"; function c({ publicId: o, children: r }) { const { showFeedbackSheet: t } = n(); return /* @__PURE__ */ e( s, { onLongPress: () => { o && t({ publicId: o }); }, children: r } ); } export { c as ContentMonitor }; //# sourceMappingURL=content-monitor.js.map