umami/components/metrics/OSTable.js

18 lines
393 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';
2020-08-31 23:11:30 +02:00
export default function OSTable({ websiteId, limit, onExpand }) {
return (
<MetricsTable
title="Operating System"
type="os"
metric="Visitors"
websiteId={websiteId}
limit={limit}
2020-08-24 03:01:27 +02:00
dataFilter={osFilter}
onExpand={onExpand}
/>
);
}