Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@i-group/draw-s001

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@i-group/draw-s001

Draw Spin 001

  • 0.0.1-alpha.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

FS Draw Spin 001

FS Draw spin 001 Logo

Most modern slider with hardware accelerated transitions for ReactJS

NPM npm downloads npm npm

Features

  • use Rive and pixijs

Installation

yarn add @fs-group/draw-s001

Usage

import DrawS001 from '@fs-group/draw-s001';
import 'fs-draw-s001/dist/index.css';


// prize data (length must be 7 pcs)
const data: IData[] = [
    {id: 'A1', imageUrl: asset('/images/prize.png')},
    {id: 'A2', imageUrl: asset('/images/prize.png')},
    {id: 'A3', imageUrl: asset('/images/prize.png')},
    {id: 'A4', imageUrl: asset('/images/prize.png')},
];

export const CustomBanner = () => {
    return <SpinWheel
        data={data}
        targetIndex={targetIndex}
        isDisabled={false}
        isDebug={false}
    />
}

License

MIT © fs-group

Keywords

FAQs

Package last updated on 11 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc