umami/components/layout/PageHeader.js

14 lines
322 B
JavaScript
Raw Normal View History

import React from 'react';
2020-08-07 09:24:01 +02:00
import styles from './PageHeader.module.css';
2023-04-21 17:00:42 +02:00
export function PageHeader({ title, children }) {
return (
2023-04-12 22:40:19 +02:00
<div className={styles.header}>
2023-01-31 06:44:07 +01:00
<div className={styles.title}>{title}</div>
2023-04-10 05:22:28 +02:00
<div className={styles.actions}>{children}</div>
</div>
);
2020-08-07 09:24:01 +02:00
}
2023-04-21 17:00:42 +02:00
export default PageHeader;