mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-30 07:48:11 +01:00
15 lines
404 B
JavaScript
15 lines
404 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)}>
|
|
{title && <div className={styles.title}>{title}</div>}
|
|
<div className={styles.actions}>{children}</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default PageHeader;
|