openreplay/frontend/app/components/Session_/Multiview/EmptyTile.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

18 lines
573 B
TypeScript

import React from 'react';
import { InactiveTab } from 'App/components/Session_/Player/Controls/AssistSessionsTabs';
import { useTranslation } from 'react-i18next';
function EmptyTile({ onClick }: { onClick: () => void }) {
const { t } = useTranslation();
return (
<div
className="border hover:bg-active-blue hover:border-borderColor-primary flex flex-col gap-2 items-center justify-center cursor-pointer"
onClick={onClick}
>
<InactiveTab classNames="!bg-gray-bg w-12" />
{t('Add Session')}
</div>
);
}
export default EmptyTile;