mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
19 lines
569 B
JavaScript
19 lines
569 B
JavaScript
import React from 'react';
|
|
import MetricsTable from './MetricsTable';
|
|
import { osFilter } from 'lib/filters';
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
|
export default function OSTable({ websiteId, limit, onExpand }) {
|
|
return (
|
|
<MetricsTable
|
|
title={<FormattedMessage id="metrics.operating-systems" defaultMessage="Operating system" />}
|
|
type="os"
|
|
metric={<FormattedMessage id="metrics.visitors" defaultMessage="Visitors" />}
|
|
websiteId={websiteId}
|
|
limit={limit}
|
|
dataFilter={osFilter}
|
|
onExpand={onExpand}
|
|
/>
|
|
);
|
|
}
|