/rrp-graceful-lines-plugin

Graceful lines design plugin for React Roulette Pro

Primary LanguageTypeScriptMIT LicenseMIT

Graceful lines plugin

Design plugin Graceful lines for React Roulette Pro
Live example - rrp-graceful-lines-plugin.ivanadmaers.com

Graceful Lines Plugin Example

Installation

# Via npm:
npm i rrp-graceful-lines-plugin

# Via yarn:
yarn add rrp-graceful-lines-plugin

Usage

import gracefulLinesPlugin from 'rrp-graceful-lines-plugin';
import 'rrp-graceful-lines-plugin/dist/index.css';

<RoulettePro
  designPlugin={gracefulLinesPlugin()}
/>

Options

All the options are optional

Option Type Description
hideTopArrow boolean Hide top arrow
hideSideArrows boolean Hide side arrows
replaceBottomArrowWithTopArrow boolean Replace bottom arrow with top arrow
prizesWithText boolean Prizes with text

Example:

<RoulettePro
  designPlugin={gracefulLinesPlugin({
    hideTopArrow: true,
  })}
/>

Versions

  • react >=17.0.0
  • react-dom >=17.0.0
  • react-roulette-pro >=3.0.4

Local development

Development

npm ci i

npm run dev

cd example/

npm ci i

npm run dev

Production

npm run build

cd example/

npm run build

License

MIT

Copyright (c) 2022-present, Ivan Admaers