1.0.5 • Published 6 years ago

react-alpha-jump v1.0.5

Weekly downloads
47
License
-
Repository
github
Last release
6 years ago

react-alpha-jump

NPM

Getting Started

Install react-alpha-jump using npm.

npm install react-alpha-jump --save

Import the AlphaJumper component.

import { AlphaJumper } from 'react-alpha-jump';

Use the AlphaJumper component. For example:

<AlphaJumper
  color="blue"
  onTouch={char => console.log(char)}
  style={{
    bottom: 5,
    position: 'fixed',
    right: 7.5,
    top: 5,
    width: 10,
  }}
/>

Documentation

AlphaJumper Component Properties

PropertyTypeDefaultDescription
alphabetarray'A', 'B', ..., 'Z'Defines the characters to show.
colorstring"white"Determines the color of the characters.
onTouchfunctionnoopCalled when a character is touched. Receives character as param.
styleobject{}Overrides styles of alphabet list container.
1.0.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago