mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-02 14:11:07 +01:00
19 lines
423 B
JavaScript
19 lines
423 B
JavaScript
import MetricsTable from './MetricsTable';
|
|
import useMessages from 'hooks/useMessages';
|
|
|
|
export function ScreenTable({ websiteId, ...props }) {
|
|
const { formatMessage, labels } = useMessages();
|
|
|
|
return (
|
|
<MetricsTable
|
|
{...props}
|
|
title={formatMessage(labels.screens)}
|
|
type="screen"
|
|
metric={formatMessage(labels.visitors)}
|
|
websiteId={websiteId}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export default ScreenTable;
|