summaryrefslogtreecommitdiff
path: root/src/components/ContentHeader.tsx
blob: f786240dfeafe254d35c2223bdc6ea0ec1fd81f7 (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.css';

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);