"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("classnames"),s=require("react"),r=require("../Text/Text.js"),a=require("./constants.js"),i=require("./EmptyState.scss.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=c(t);exports.EmptyState=function(t){var c=t.testId,n=t.className,u=t.subTitle,o=t.title,d=t.image,m=void 0===d?"noDataAvailable":d,x=s.useMemo((function(){return{"--image":"url(".concat(a.Images[m],")")}}),[m]);return e.jsx("div",{className:l.default(i.root,n),"data-testid":c,children:e.jsxs("div",{className:i.content,children:[o&&e.jsx(r.Text,{size:24,color:"T7",weight:"medium",className:i.title,children:o}),u&&e.jsx(r.Text,{size:14,color:"T7",children:u}),e.jsx("div",{className:i.image,style:x})]})})};
//# sourceMappingURL=EmptyState.js.map
