rrp-graceful-lines-plugin
v1.0.0
Published
Graceful lines design plugin for React Roulette Pro
Downloads
26
Maintainers
Readme
Graceful lines plugin
Design plugin Graceful lines for React Roulette Pro
Live example - rrp-graceful-lines-plugin.ivanadmaers.com
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
Copyright (c) 2022-present, Ivan Admaers