1.1.2 • Published 1 year ago

react-slot-machine-text v1.1.2

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

react-slot-machine-text

react-slot-machine-text

https://www.npmjs.com/package/react-slot-machine-text

Installation

npm i react-slot-machine-text

Usage

import { SlotMachine } from 'react-slot-machine-text';

/* ... */
<SlotMachine 
  textData={['Option #1', 'Option #2', ...]} // array of string
  random={true} // whether the options are displayed in a random order (true) or in sequential order (false), true by default
/>
/* ... */

Style

/* change the style of the inner text (<p>) */

.slotMachineText {
  font-size: xx-large;
  caret-color: transparent;
  cursor: pointer;
}
1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.0

1 year ago

0.0.0

1 year ago