DEV Community

Freecodez
Freecodez

Posted on

2

React button component with text split animation

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.

React button component with text split animation

React button component with text split animation

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

// https://freecodez.com
const Button = (props) => {
    return (
        <div class="button">
            {props.txt.split("").map((x, i) => (
                <div data={x} key={i} class="box">{x}</div>
            ))}
        </div>
    );
};

Enter fullscreen mode Exit fullscreen mode

Source Code : https://freecodez.com/post/7a7q9d8

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

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)