1.1.1 • Published 8 years ago

react-simple-read-more v1.1.1

Weekly downloads
8
License
ISC
Repository
github
Last release
8 years ago

react-simple-read-more

to install:

npm install --save react-simple-read-more

how to use it:

  • first import it to your file
import StringParser from 'react-simple-read-more';
  • pass your string as a props to library
<StringParser text={--your string here--} breakOn='3' charLimit="250"/>
{breakOn=> number of line form which u want to break your string}
{charLimit=> charLimit per line, If no value is given than by default it will take 200 characters per line}

and that's it. :D

Compiled jsx using bable: https://babeljs.io/repl/

1.1.1

8 years ago

1.1.0

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago