0.2.0 • Published 5 years ago
react-lazy-print v0.2.0
React Lazy Print
§This is a React Component for beautiful output text messages ( like programmer writes )
Options
- Beautiful Output
- Cursor animation
- Switch typing speed ( time in milliseconds during which one character is printed )
Install
npm i react-lazy-print --save
Usage
import React from 'react';
import ReactDOM from 'react-dom';
import { LazyPrint } from 'react-lazy-print';
class Example extends React.Component {
render() {
return (
<LazyPrint message="Your Message" speed={60}>
);
}
}
ReactDOM.render(
<Example />, document.querySelector('.app');
)
Attention: speed is an optional value, it means the amount of time in milliseconds for which one character is printed, by default it is 60.
Have any ideas?
If you have any ideas email me at denisbordachkov@gmail.com