umami/components/metrics/OSTable.js

20 lines
465 B
JavaScript
Raw Normal View History

import React from 'react';
import MetricsTable from './MetricsTable';
2020-08-24 03:01:27 +02:00
import { osFilter } from 'lib/filters';
export default function OSTable({ websiteId, startDate, endDate, limit, onExpand }) {
return (
<MetricsTable
title="Operating System"
type="os"
metric="Visitors"
websiteId={websiteId}
startDate={startDate}
endDate={endDate}
limit={limit}
2020-08-24 03:01:27 +02:00
dataFilter={osFilter}
onExpand={onExpand}
/>
);
}