UNPKG

@shopify/shop-minis-react

Version:

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

24 lines (23 loc) 758 B
import { jsx as e } from "react/jsx-runtime"; import { useTheme as t } from "../../node_modules/.pnpm/next-themes@0.4.6_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next-themes/dist/index.js"; import { Toaster as s } from "../../node_modules/.pnpm/sonner@2.0.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/sonner/dist/index.js"; const n = ({ ...r }) => { const { theme: o = "system" } = t(); return /* @__PURE__ */ e( s, { theme: o, className: "toaster group", style: { "--normal-bg": "var(--popover)", "--normal-text": "var(--popover-foreground)", "--normal-border": "var(--border)" }, ...r } ); }; export { n as Toaster }; //# sourceMappingURL=sonner.js.map