mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 09:45:04 +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>
|
|
);
|
|
}
|