umami/components/layout/PageHeader.js
2023-01-30 21:44:07 -08:00

13 lines
356 B
JavaScript

import React from 'react';
import classNames from 'classnames';
import styles from './PageHeader.module.css';
export default function PageHeader({ title, children, className, style }) {
return (
<div className={classNames(styles.header, className)} style={style}>
<div className={styles.title}>{title}</div>
{children}
</div>
);
}