import{jsx as s}from"react/jsx-runtime";import"react";import e from"../../../text/components/Text.js";let CartMessage=({message:r,type:o,setting:t,styles:c})=>s(e,{setting:{text:r||t?.["success"===o?"successMessage":"errorMessage"],excludeFlex:!0},styles:{typo:c?.["success"===o?"successTypo":"errorTypo"],color:{normal:c?.["success"===o?"successColor":"errorColor"]}}});export{CartMessage};
