1.0.0 • Published 5 years ago
typist-react v1.0.0
typist-react
A React Component that makes a cool typing effect
Usage
Typist react is very simple to use
Props
Only one of the props is required, the rest of them is optional
- text: string | required
- color: string
- fontSize: string
- fontFamily: string
- blinkTime: number
- typingTime: number
Example
Here is an example using all the props
import Typist from "typist-react";
function MyComponent() {
return (
<Typist
text="My Awesome text"
color="#ffffff"
fontSize="2.5em"
fontFamily="monospace"
blinkTime={1}
typingTime={4}
/>
);
}
1.0.0
5 years ago