type-writer-text
v1.0.0
Published
Type writer animation for text
Downloads
3
Readme
type-writer-text
lightweight spinner library
Install
npm install --save type-writer-text
Usage
Basic
import * as React from 'react'
import { TypeWriterText } from 'type-writer-text'
class App extends React.Component {
render () {
return (
<TypeWriterText text={"Happy Quarantine"} />
)
}
}
Passing Props
Animation Speed :
Cursor Props :
import * as React from 'react'
import { TypeWriterText } from 'type-writer-text'
class App extends React.Component {
render () {
return (
<TypeWriterText text={"Happy Quarantine"} animationSpeed = {100} cursorProps = {{ color: 'rgba(0,0,0,0.87)', blinkSpeed: '0.8s' }} showCursor = {true} />
)
}
}
License
MIT © HRSHDG8