"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),t=require("../../../../src/modules/Reviews/components/ReviewCard/reviewCard.module.css"),r=require("../../../../components/Typography/Typography.cjs.js"),e=require("../../../../components/RatingStars/RatingStars.cjs.js"),n=({review:a})=>s.jsxs("div",{className:t.root,children:[s.jsxs("div",{className:t.authorContainer,children:[s.jsx(r.Typography,{as:"p",defaultVariant:"bodyMd",emphasis:!0,className:t.author,children:a.author}),!!a.stars&&s.jsx(e.RatingStars,{rating:a.stars,size:"sm"})]}),s.jsxs("div",{className:t.content,children:[s.jsx(r.Typography,{as:"h3",defaultVariant:"bodyXl",mobileVariant:"bodyMd",emphasis:!0,children:a.title}),s.jsx(r.Typography,{as:"p",defaultVariant:"bodyMd",children:a.description})]})]});exports.ReviewCard=n;
