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
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>
);
};
Source Code : https://freecodez.com/post/7a7q9d8
For more such articles visit : https://freecodez.com
Top comments (0)