mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-16 02:05:04 +01:00
15 lines
393 B
JavaScript
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;
|