rrp-graceful-lines-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

MIT

Copyright (c) 2022-present, Ivan Admaers

Dependencies (0)

    Dev Dependencies (23)

    Package Sidebar

    Install

    npm i rrp-graceful-lines-plugin

    Weekly Downloads

    18

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    437 kB

    Total Files

    49

    Last publish

    Collaborators

    • admaers