1.0.1 • Published 5 years ago
react-word-limit v1.0.1
react-word-limit
Installation
npm install react-word-limit --save
Usage
import React from 'react';
import ReactDOM from 'react-dom';
import WordLimit from 'react-word-limit';
ReactDOM.render(<WordLimit limit={10}>here is long text to be printed</WordLimit>, document.getElementById('page'));