DEV Community

Freecodez
Freecodez

Posted on

Text Reveal React component

Hey there, You are most welcome to this article. I hope you will enjoy this article. If you like this article then please share this article with your friends and colleagues. If you have any questions or suggestions regarding this article then please comment down below.

Text Reveal React component

Text Reveal React component

For full source code visit : https://freecodez.com/post/eoi44qd

// https://freecodez.com
const Hello = (props) => {
    return (
        <div class="hero">
            <h1 class="text-reveal">
                <span>{props.txt}</span>
                <span aria-hidden="true">{props.txt}</span>
            </h1>
        </div>
    );
};

Enter fullscreen mode Exit fullscreen mode

Source Code : https://freecodez.com/post/eoi44qd

For more such articles visit : https://freecodez.com

Top comments (0)