"use strict";var e=require("react/jsx-runtime"),t=require("react"),s=require("../../../../notification/hooks/useNotification.js");require("../../../../notification/components/Notice.js");var r=require("../CartMessage.js");exports.useCartMessage=(a,i)=>{let[o,n]=s.default({closable:!0,maxCount:3}),u=t.useCallback((t,s)=>{o.open({content:e.jsx(r.CartMessage,{type:s,message:t,styles:a,setting:i}),placement:"top"})},[o,i,a]);return{showMessage:u,notiComponent:n}};
