summaryrefslogtreecommitdiff
path: root/src/components/ContentHeader.tsx
blob: 473cd4cd93c5daa3d81dc07bcd853a06154093d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import React from 'react';

import s0 from './ContentHeader.module.scss';

type Props = {
  title: string;
};

function ContentHeader({ title }: Props) {
  return (
    <div className={s0.root}>
      <h1 className={s0.h1}>{title}</h1>
    </div>
  );
}

export default React.memo(ContentHeader);