import React from "react"; import style from "./PageTitle.module.css" import GlobalInfos from "../../GlobalInfos"; class PageTitle extends React.Component { constructor(props) { super(props); this.props = props; } render() { const themeStyle = GlobalInfos.getThemeStyle(); return (
{this.props.title} {this.props.subtitle} <> {this.props.children}
); } } /** * class to override default
color and styling * use this for horizontal lines to use the current active theming */ export class Line extends React.Component { render() { const themeStyle = GlobalInfos.getThemeStyle(); return ( <>
); } } export default PageTitle;