umami/components/layout/PageHeader.js
2023-05-20 09:02:08 -07:00

15 lines
393 B
JavaScript

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