mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-16 02:05:04 +01:00
20 lines
600 B
JavaScript
20 lines
600 B
JavaScript
import React from 'react';
|
|
import { FormattedMessage } from 'react-intl';
|
|
import MetricsTable from './MetricsTable';
|
|
import { browserFilter } from 'lib/filters';
|
|
|
|
export default function BrowsersTable({ websiteId, token, limit, onExpand }) {
|
|
return (
|
|
<MetricsTable
|
|
title={<FormattedMessage id="metrics.browsers" defaultMessage="Browsers" />}
|
|
type="browser"
|
|
metric={<FormattedMessage id="metrics.visitors" defaultMessage="Visitors" />}
|
|
websiteId={websiteId}
|
|
token={token}
|
|
limit={limit}
|
|
dataFilter={browserFilter}
|
|
onExpand={onExpand}
|
|
/>
|
|
);
|
|
}
|