1.0.7 • Published 1 year ago

lesca-react-char-transition v1.0.7

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

React React React React React NPM React NPM

Why use it?

simple way to transition char in pure string react component

Live Demo

Installation

npm install lesca-react-char-transition --save

Usage

As a Node module:

import CharTransition from 'lesca-react-char-transition';

In the component

const component = () => {
  return (
    <CharTransition duration={1000} gap={0} preChar='?' pause={false}>
      James
    </CharTransition>
  );
};

Props

Propsdescriptiondefault
duration:numbertransition duration1000
gap:numbereach char transition gap0
preChar:stringfirst char display when it pause''
pause:booleanpause transitionfalse
list:booleanlist of char worldfalse
onEnd:booleantransition completenull

Features

  • maintain if necessary
1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.4

2 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago