123456789101112131415 |
- declare module "@lucky-canvas/react" {
- import { FC } from "react";
- interface LuckyCanvasProps<B = any, P = any, A = any> {
- ref: any;
- width: string;
- height: string;
- blocks: B[];
- prizes: P[];
- buttons: A[];
- onStart: () => void;
- onEnd: (p: P) => void;
- defaultConfig: any;
- }
- export const LuckyWheel: FC<LuckyCanvasProps>;
- }
|