Open History to see the last commit
1import { formatTitle } from '../utils/formatTitle'
2import styles from './Header.module.css'
3β
4export function Header({ title }: { title: string }) {
5 return (
6 <header className={styles.header} data-testid="shared-header">
7 <h1>{formatTitle(title)}</h1>
8 <button type="button">Save</button>
9 </header>
10 )
11}