"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../../src/pageComponents/Banner/banner.module.css"),r=require("../../components/Typography/Typography.cjs.js"),c=require("../../components/TextButton/TextButton.cjs.js"),a=require("../../components/Icon/Icon.cjs.js"),i=require("../../components/Icon/constants.cjs.js"),l=({content:s,button:n,onClose:o})=>e.jsxs("section",{className:t.root,children:[e.jsx(r.Typography,{className:t.content,defaultVariant:"labelMd",mobileVariant:"labelSm",children:s}),n&&e.jsx(c.TextButton,{as:"a",size:"sm",href:n.link,children:n.text}),o&&e.jsx("div",{className:t.close,role:"button",onClick:o,children:e.jsx(a.Icon,{name:i.EIconName.CLOSE})})]});exports.Banner=l;
