react-lazy-print
v0.2.0
Published
This is React Component for beautiful text output
Readme
React Lazy Print
§This is a React Component for beautiful output text messages ( like programmer writes )
Options
- [x] Beautiful Output
- [x] Cursor animation
- [x] 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 [email protected]
