react-lens-analytics
Version:
This is test button made for a tutorial
11 lines (7 loc) • 358 B
TypeScript
interface Props {
projectId: string;
}
declare const Analytics: (props: Props) => null;
declare function track(projectId: string, eventName: string, eventData?: Record<string, unknown>): Promise<void>;
declare function trackSync(projectId: string, eventName: string, eventData?: Record<string, unknown>): void;
export { Analytics, track, trackSync };