mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 18:26:20 +01:00
20 lines
473 B
JavaScript
20 lines
473 B
JavaScript
|
import React from 'react';
|
||
|
import MetricsTable from './MetricsTable';
|
||
|
import { deviceFilter } from 'lib/filters';
|
||
|
|
||
|
export default function DevicesTable({ websiteId, startDate, endDate, limit, onExpand }) {
|
||
|
return (
|
||
|
<MetricsTable
|
||
|
title="Devices"
|
||
|
type="device"
|
||
|
metric="Visitors"
|
||
|
websiteId={websiteId}
|
||
|
startDate={startDate}
|
||
|
endDate={endDate}
|
||
|
limit={limit}
|
||
|
dataFilter={deviceFilter}
|
||
|
onExpand={onExpand}
|
||
|
/>
|
||
|
);
|
||
|
}
|