1.0.0 • Published 4 years ago
type-writer-text v1.0.0
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
1.0.0
4 years ago