import{j as e,C as n,b as o,c as j,d as u,w as t}from"./index-C9vqJYWU.js";function h({title:r,value:i,icon:a,description:x,trend:s,className:l,valueClassName:c,children:d,onClick:m}){return e.jsxs(n,{className:t(l),onClick:m,children:[e.jsxs(o,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e.jsx(j,{className:"text-sm font-medium",children:r}),a&&e.jsx(a,{className:"h-4 w-4 text-muted-foreground"})]}),e.jsxs(u,{children:[e.jsx("div",{className:t("text-2xl font-bold",c),children:i}),x&&e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:x}),s&&e.jsxs("p",{className:t("text-xs mt-1",s.isPositive?"text-green-600":"text-red-600"),children:[s.isPositive?"+":"",s.value,"%"]}),d]})]})}export{h as S};
