This reusable React component will manage to blink any text and changing the text color and font size if we need.
Blink
takes plain HTML tags and outputs plain HTML tags. It's dead simple, and React beginner friendly.
import React, { Component } from "react";
import Blink from 'react-blink-text';
function Application(){
return (
<div className="Application">
<Blink color='blue' text='TestReactApp' fontSize='20'>
Testing the Blink
</Blink>
</div>
);
}
export default Application;
- Supports all html tags : H1, H2, h3,..,etc., Span, Div, A Href tag.
- Supports all different types of colors
- Supports server-side rendering.
yarn add react-blink-text
npm install --save react-blink-text