"use strict";var jsxRuntime=require("react/jsx-runtime");require("react");var Text=require("../../../text/components/Text.js");const CartMessage=({message:e,type:s,setting:r,styles:t})=>jsxRuntime.jsx(Text.default,{setting:{text:e||r?.["success"===s?"successMessage":"errorMessage"],excludeFlex:!0},styles:{typo:t?.["success"===s?"successTypo":"errorTypo"],color:{normal:t?.["success"===s?"successColor":"errorColor"]}}});exports.CartMessage=CartMessage;
