import React from 'react';
import { FormattedMessage } from 'react-intl';
import MetricsTable from './MetricsTable';
import styles from './EventsTable.module.css';
export default function EventsTable({ websiteId, token, limit, onExpand, onDataLoad }) {
return (
}
type="event"
metric={}
websiteId={websiteId}
token={token}
limit={limit}
renderLabel={({ x }) => }
onExpand={onExpand}
onDataLoad={onDataLoad}
/>
);
}
const Label = ({ value }) => {
const [event, label] = value.split(':');
return (
<>
{event}
{label}
>
);
};