Added comparison tables.
This commit is contained in:
1 parent
626fe14fc2
commit
b7a7d4de4d
18 files changed
+220
-168
No files matched your search
@@ -27,6 +27,7 @@ export interface MetricsTableProps extends ListTableProps {
|
||||
onSearch?: (search: string) => void;
|
||||
allowSearch?: boolean;
|
||||
showMore?: boolean;
|
||||
params?: { [key: string]: any };
|
||||
children?: ReactNode;
|
||||
}
|
||||
|
||||
@@ -40,6 +41,7 @@ export function MetricsTable({
|
||||
delay = null,
|
||||
allowSearch = false,
|
||||
showMore = true,
|
||||
params,
|
||||
children,
|
||||
...props
|
||||
}: MetricsTableProps) {
|
||||
@@ -51,7 +53,7 @@ export function MetricsTable({
|
||||
|
||||
const { data, isLoading, isFetched, error } = useWebsiteMetrics(
|
||||
websiteId,
|
||||
{ type, limit, search },
|
||||
{ type, limit, search, ...params },
|
||||
{
|
||||
retryDelay: delay || DEFAULT_ANIMATION_DURATION,
|
||||
onDataLoad,
|
||||
|
||||
Reference in new issue
Block a user