Files
frontend/src/pages/bond/ui/BondPage/components/Metric.view.tsx
T
ksv741 0865b35f93
Frontend verify / commits (pull_request) Successful in 27s
Frontend verify / security (pull_request) Successful in 9s
Frontend verify / verify (pull_request) Successful in 8m20s
refactor: clarify frontend model ownership
2026-09-28 21:44:53 +03:00

20 lines
321 B
TypeScript

import type { FC } from "react";
import { Text } from "@mantine/core";
type MetricProps = { label: string; value: string };
const Metric: FC<MetricProps> = props => (
<div>
<Text c="dimmed" size="xs">
{props.label}
</Text>
<Text fw={600} size="lg">
{props.value}
</Text>
</div>
);
export { Metric };