mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-25 02:36:20 +01:00
13 lines
356 B
JavaScript
13 lines
356 B
JavaScript
import React from 'react';
|
|
import classNames from 'classnames';
|
|
import styles from './PageHeader.module.css';
|
|
|
|
export default function PageHeader({ title, children, className, style }) {
|
|
return (
|
|
<div className={classNames(styles.header, className)} style={style}>
|
|
<div className={styles.title}>{title}</div>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|