mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 07:37:11 +01:00
Feature: Add screensize to UI
This commit is contained in:
parent
910f165103
commit
8d358ccb9d
7 changed files with 30 additions and 5 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