words-animator

1.0.3 • Public • Published

words-animator

words-animator is a react component, which can be used to replace a part of string with an array of words with some great and smooth animation.

#Installation

npm install words-animator --save

#Usage

import Wordsanimator from 'words-animator'
 
class YourcomponentName extends React.Component {
  render(){
    return (
      <Wordsanimator partialSentence="Words-animator is" words={['smooth', 'cool', 'awesome']]} style="rw-words-3"/>
    )
  }
 
 export default YourcomponentName;

#Props

  • partialSentence : "String" | "A sentence in which you want to place your words." | OPTIONAL
  • words : "String" | "An array or words." | MANDATORY | MAX-LENGTH - 6
  • style : "String" | Default - rw-words-1 | [rw-words-1, rw-words-2, rw-words-3, rw-words-4]

#Feature Request

Drop a mail on abhisharjangir@ymail.com for any new feature request.

Package Sidebar

Install

npm i words-animator

Weekly Downloads

2

Version

1.0.3

License

none

Last publish

Collaborators

  • imabhi.in