2020-06-19 00:16:18 +02:00
|
|
|
import React from "react";
|
2020-07-08 00:14:08 +02:00
|
|
|
import style from "./PageTitle.module.css"
|
2020-06-19 00:16:18 +02:00
|
|
|
|
|
|
|
class PageTitle extends React.Component {
|
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
|
|
|
|
|
|
|
this.props = props;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
2020-07-08 00:14:08 +02:00
|
|
|
<div className={style.pageheader}>
|
|
|
|
<span className={style.pageheadertitle}>{this.props.title}</span>
|
|
|
|
<span className={style.pageheadersubtitle}>{this.props.subtitle}</span>
|
2020-06-19 18:21:42 +02:00
|
|
|
<>
|
|
|
|
{this.props.children}
|
|
|
|
</>
|
2020-06-19 00:16:18 +02:00
|
|
|
<hr/>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default PageTitle;
|