umami/components/metrics/ScreenTable.js

16 lines
454 B
JavaScript
Raw Normal View History

2022-07-16 07:29:55 +02:00
import React from 'react';
import MetricsTable from './MetricsTable';
import { FormattedMessage } from 'react-intl';
export default function ScreenTable({ websiteId, ...props }) {
return (
<MetricsTable
{...props}
2022-08-08 10:26:20 +02:00
title={<FormattedMessage id="metrics.screens" defaultMessage="Screens" />}
2022-07-16 07:29:55 +02:00
type="screen"
metric={<FormattedMessage id="metrics.visitors" defaultMessage="Visitors" />}
websiteId={websiteId}
/>
);
}