Design plugin Graceful lines for React Roulette Pro
Live example - rrp-graceful-lines-plugin.ivanadmaers.com
# Via npm:
npm i rrp-graceful-lines-plugin
# Via yarn:
yarn add rrp-graceful-lines-plugin
import gracefulLinesPlugin from 'rrp-graceful-lines-plugin';
import 'rrp-graceful-lines-plugin/dist/index.css';
<RoulettePro
designPlugin={gracefulLinesPlugin()}
/>
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,
})}
/>
- react >=17.0.0
- react-dom >=17.0.0
- react-roulette-pro >=3.0.4
Development
npm ci i
npm run dev
cd example/
npm ci i
npm run dev
Production
npm run build
cd example/
npm run build
Copyright (c) 2022-present, Ivan Admaers