read-more-less
Install
npm install --save read-more-less
Usage
import React Component from 'react' import ReadMoreLess from 'read-more-less'import 'read-more-less/dist/index.css' const initialText = <div> 'Any Text Here' </div> ; const moreText = <div> 'Any Text Here with more Text' </div> ; { return <ReadMoreLess = = /> }
License
MIT © dhruvildave22