import React from 'react';

import styles from "../styles";
import {ethereumLogo2 } from "../assets";

const Loader = ({ title }) => {
return (
    <div className={styles.loader}>
      <img src={ethereumLogo2} alt="Ethereum Logo" className={styles.loaderImg} />
        <p className={styles.loaderText}>{title}</p>
    </div>

  );
}

export default Loader;