1 | import { Performance as PerformanceActions } from '@shopify/app-bridge/actions';
|
2 | interface MetricsPayload {
|
3 | appId: string;
|
4 | shopId: string;
|
5 | appLoadType: PerformanceActions.ActionType;
|
6 | isFullPageNavigation: boolean;
|
7 | loadTime: number;
|
8 | }
|
9 | export interface Props {
|
10 | dispatchPerformanceMetrics(metrics: MetricsPayload): void;
|
11 | }
|
12 | export default function Performance({ dispatchPerformanceMetrics }: Props): null;
|
13 | export {};
|