redbadger/website-honestly

View on GitHub
site/pages/our-work/slices/shared/header/index.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
// @flow

import * as React from 'react';
import styles from './styles.css';

type Props = {
  children: React.Node,
};

export default function Header({ children }: Props) {
  return <h2 className={styles.header}>{children}</h2>;
}