read-more-less

1.1.1 • Public • Published

read-more-less

NPM JavaScript Style Guide

Install

npm install --save read-more-less

DEMO

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>
    ;
 
class ReadMoreLess extends Component {
  render() {
    return 
    <ReadMoreLess
      initialText={initialText}
      moreText={moreText}
    />
  }
}

License

MIT © dhruvildave22

read-more-less

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.12latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.12
1.1.01
1.0.01

Package Sidebar

Install

npm i read-more-less

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

241 kB

Total Files

7

Last publish

Collaborators

  • dhruvildave