2022-07-16 07:29:55 +02:00
|
|
|
import MetricsTable from './MetricsTable';
|
2023-04-08 07:03:52 +02:00
|
|
|
import useMessages from 'hooks/useMessages';
|
2022-07-16 07:29:55 +02:00
|
|
|
|
|
|
|
export default function ScreenTable({ websiteId, ...props }) {
|
2023-04-08 07:03:52 +02:00
|
|
|
const { formatMessage, labels } = useMessages();
|
|
|
|
|
2022-07-16 07:29:55 +02:00
|
|
|
return (
|
|
|
|
<MetricsTable
|
|
|
|
{...props}
|
2023-04-08 07:03:52 +02:00
|
|
|
title={formatMessage(labels.screens)}
|
2022-07-16 07:29:55 +02:00
|
|
|
type="screen"
|
2023-04-08 07:03:52 +02:00
|
|
|
metric={formatMessage(labels.visitors)}
|
2022-07-16 07:29:55 +02:00
|
|
|
websiteId={websiteId}
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
}
|