umami/components/metrics/CityTable.js

16 lines
444 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 CityTable({ websiteId, ...props }) {
return (
<MetricsTable
{...props}
title={<FormattedMessage id="metrics.city" defaultMessage="City" />}
type="city"
metric={<FormattedMessage id="metrics.visitors" defaultMessage="Visitors" />}
websiteId={websiteId}
/>
);
}