mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 12:35:38 +01:00
feat: add client screen size statics
This commit is contained in:
parent
a035fbb581
commit
da09e5cdf7
8 changed files with 42398 additions and 4349 deletions
15
components/metrics/ScreenTable.js
Normal file
15
components/metrics/ScreenTable.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import React from 'react';
|
||||
import MetricsTable from './MetricsTable';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
|
||||
export default function ScreenTable({ websiteId, ...props }) {
|
||||
return (
|
||||
<MetricsTable
|
||||
{...props}
|
||||
title={<FormattedMessage id="metrics.screens" defaultMessage="Screen" />}
|
||||
type="screen"
|
||||
metric={<FormattedMessage id="metrics.visitors" defaultMessage="Visitors" />}
|
||||
websiteId={websiteId}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue