UNPKG

analytica-frontend-lib

Version:

Repositório público dos componentes utilizados nas plataformas da Analytica Ensino

38 lines (36 loc) 904 B
import { Badge_default } from "./chunk-OEW3ST4F.mjs"; import { Text_default } from "./chunk-IMCIR6TJ.mjs"; import { cn } from "./chunk-53ICLDGS.mjs"; // src/components/shared/MetricBox.tsx import { jsx, jsxs } from "react/jsx-runtime"; var MetricBox = ({ label, value, className }) => /* @__PURE__ */ jsxs( "div", { className: cn( "flex flex-col items-center justify-center gap-2 px-4 py-3 rounded-xl border border-border-50 bg-background", className ), children: [ /* @__PURE__ */ jsx( Text_default, { size: "2xs", weight: "medium", className: "text-text-600 uppercase text-center tracking-wide", children: label } ), /* @__PURE__ */ jsx(Badge_default, { size: "large", action: "info", children: value }) ] } ); export { MetricBox }; //# sourceMappingURL=chunk-G5AMZYLQ.mjs.map