1.1.0 • Published 4 years ago

react-cypher-text-loop v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

React Cypher Text Loop Component

A React component that accepts a list of strings and loops through them with a text cypher transition effect.

NPM JavaScript Style Guide

Live Demo

Install

npm i react-cypher-text-loop

Usage

import React, { Component } from 'react'

import CypherText from 'react-cypher-text-loop'

class Example extends Component {
  render() {
    return <CypherText textList={['React', 'Cypher', 'Text', 'Loop']} />
  }
}

Properties

PropertyTypeRequiredDefault valueDescription
textListarrayyesArray of text to loop through.
delaynumberno800Delay between switching to the next item.
placeholdersstringno"____-_\/[]{}—=+*^?#!<>"Characters used for cypher effect when switching between text.

License

MIT © Carter McAlister