Events table.
This commit is contained in:
1 parent
a19248d713
commit
5e9299be1e
13 files changed
+131
-31
No files matched your search
@@ -0,0 +1,32 @@
|
||||
import React from 'react';
|
||||
import MetricsTable from './MetricsTable';
|
||||
import styles from './EventsTable.module.css';
|
||||
|
||||
export default function DevicesTable({
|
||||
websiteId,
|
||||
startDate,
|
||||
endDate,
|
||||
limit,
|
||||
onExpand,
|
||||
onDataLoad,
|
||||
}) {
|
||||
return (
|
||||
<MetricsTable
|
||||
title="Events"
|
||||
type="event"
|
||||
metric="Actions"
|
||||
websiteId={websiteId}
|
||||
startDate={startDate}
|
||||
endDate={endDate}
|
||||
limit={limit}
|
||||
renderLabel={({ w, x }) => (
|
||||
<>
|
||||
<span className={styles.type}>{w}</span>
|
||||
{x}
|
||||
</>
|
||||
)}
|
||||
onExpand={onExpand}
|
||||
onDataLoad={onDataLoad}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user