summaryrefslogtreecommitdiff
path: root/admin/src/components/Header/Header.jsx
blob: fc0cf91dff0ec4355f94df07fb40d257fe8b1c95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import React from 'react';
import styles from './Header.module.css';

const Header = ({subheading}) => {
  return (
    <header className={styles.header}>
      <img
        src={`${process.env.PUBLIC_URL}/favicon.ico`}
        className={styles.header__image}
        alt=''
      />
      <h3 className={styles.header__subheading}>{subheading}</h3>
    </header>
  );
};

export default Header;