lucky-canvas.d.ts 379 B

1234567891011121314
  1. declare module "@lucky-canvas/react" {
  2. import { FC } from "react";
  3. interface LuckyCanvasProps<B = any, P = any, A = any> {
  4. ref: any;
  5. width: string;
  6. height: string;
  7. blocks: B[];
  8. prizes: P[];
  9. buttons: A[];
  10. onStart: () => void;
  11. onEnd: (p: P) => void;
  12. }
  13. export const LuckyWheel: FC<LuckyCanvasProps>;
  14. }