umami/components/layout/PageHeader.js
2023-04-12 13:40:19 -07:00

12 lines
302 B
JavaScript

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