1.0.3 • Published 4 years ago

react-typed.js v1.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

react-typed.js

A react wrapper for typed.js with support for all of its options.


Installation

npm i react-typed.js

Examples

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>
    )
}