UNPKG

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