Skip to content

A React wrapper for typed.js that exposes all options present in typed.js

Notifications You must be signed in to change notification settings

ScottEnock/react-typed.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A React wrapper for typed.js that exposes all options present in typed.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published