promogame-player 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Promogame Game
2
+
3
+ This template provides a component to quickly integrate games from Promogame
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ export interface PromogameGameProps extends React.RefAttributes<HTMLCanvasElement> {
3
+ apiUrl: string;
4
+ campaignId?: string;
5
+ checksum?: string;
6
+ externalUserId?: string;
7
+ requestedAt?: string;
8
+ loadingComponent?: React.ComponentType<{
9
+ progress: number;
10
+ }>;
11
+ className?: string;
12
+ userEmail?: string;
13
+ userPhone?: string;
14
+ userAvatar?: string;
15
+ userDisplayName?: string;
16
+ }
17
+ export declare const PromogameGame: React.ForwardRefExoticComponent<Omit<PromogameGameProps, "ref"> & React.RefAttributes<HTMLCanvasElement>>;