openreplay/frontend/app/components/UsabilityTesting/ParticipantOverview.tsx
Andrey Babushkin fd5c0c9747
Add lokalisation (#3092)
* applied eslint

* add locales and lint the project

* removed error boundary

* updated locales

* fix min files

* fix locales
2025-03-06 17:43:15 +01:00

26 lines
638 B
TypeScript

import React from 'react';
import { Typography } from 'antd';
function ParticipantOverviewItem({
titleRow,
firstNum,
addedNum,
}: {
titleRow: any;
firstNum?: string;
addedNum?: string;
}) {
return (
<div className="rounded-lg border p-2 flex-1">
<div className="flex items-center gap-2 mb-2">{titleRow}</div>
<div className="flex items-baseline gap-2">
{firstNum ? (
<Typography.Title level={4}>{firstNum}</Typography.Title>
) : null}
{addedNum ? <Typography.Text>{addedNum}</Typography.Text> : null}
</div>
</div>
);
}
export default ParticipantOverviewItem;