react-typed.js
v1.0.3
Published
A React wrapper for typed.js that allows you to pass all typed.js options as props.
Downloads
12
Maintainers
Readme
react-typed.js
A react wrapper for typed.js with support for all of its options.
Installation
npm i react-typed.jsExamples
This wrapper supports all of the customization options that type.js has. To configure the wrapper simply pass in the arguments through props.
import React from 'react'
import Typed from 'react-typed.js';
export default function Banner() {
return (
<div className="banner">
<Typed strings={["This is a banner that is using typed.js with the react-typed.js wrapper"]} showCursor={false} loop={false} />
<Typed strings={["This is another banner!", "And we're rewriting the text! o_0"]} showCursor={true} loop={false} />
</div>
)
}
