avada-wheel-canvas-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Lucky Canvas React

A React component library for lucky draw games, including Lucky Wheel, Lucky Grid, and Slot Machine components.

Installation

npm install lucky-canvas-react
# or
yarn add lucky-canvas-react

Usage

import { LuckyWheel, LuckyGrid, SlotMachine } from 'lucky-canvas-react'

function App() {
  return (
    <div>
      <LuckyWheel />
      <LuckyGrid />
      <SlotMachine />
    </div>
  )
}

Components

LuckyWheel

A wheel component for lucky draw games.

LuckyGrid

A grid component for lucky draw games.

SlotMachine

A slot machine component for lucky draw games.

License

MIT

logo

lucky-canvas 抽奖插件

一个基于 JavaScript 的跨平台 ( 大转盘 / 九宫格 / 老虎机 ) 抽奖插件

stars forks author license


官方文档

中文https://100px.net


在 React 中使用


🙏🙏🙏 点个Star

如果您觉得这个项目还不错, 可以在 Github 上面帮我点个star, 支持一下作者 ☜(゚ヮ゚☜)


Package Sidebar

Install

npm i avada-wheel-canvas-react

Weekly Downloads

7

Version

1.0.5

License

MIT

Unpacked Size

285 kB

Total Files

6

Last publish

Collaborators

  • chomottinhyeu127