umami/components/metrics/RegionTable.js

16 lines
452 B
JavaScript
Raw Normal View History

2021-10-11 21:30:14 +02:00
import React from 'react';
import MetricsTable from './MetricsTable';
import { FormattedMessage } from 'react-intl';
export default function RegionTable({ websiteId, ...props }) {
return (
<MetricsTable
{...props}
title={<FormattedMessage id="metrics.region" defaultMessage="Region" />}
type="region"
metric={<FormattedMessage id="metrics.visitors" defaultMessage="Visitors" />}
websiteId={websiteId}
/>
);
}