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
|
|
|
|
2023-04-21 17:00:42 +02:00
|
|
|
export 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}
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
}
|
2023-04-21 17:00:42 +02:00
|
|
|
|
|
|
|
export default ScreenTable;
|