blob: ed776612ceffd0f339c252f8c6fff875e844252d [file] [log] [blame]
pineafana5ce9102021-09-02 17:21:31 +01001import { Component } from "react";
2import Styles from '../styles/sectionheading.module.css';
3
pineafanaed30242021-09-04 09:33:40 +01004class SectionHeading extends Component {
pineafana5ce9102021-09-02 17:21:31 +01005 constructor(props) {
6 super(props);
7 }
8
9
10 render() {
11 return (
pineafandf39fd42021-09-04 16:05:27 +010012 <h1 className={Styles.title} id={this.props.id}>{this.props.children}</h1>
pineafana5ce9102021-09-02 17:21:31 +010013 )
14 }
15}
16
pineafanaed30242021-09-04 09:33:40 +010017export default SectionHeading;