pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame^] | 1 | import { Component } from "react"; |
2 | import Styles from '../styles/sectionheading.module.css'; | ||||
3 | |||||
4 | class SectionHeading extends Component { | ||||
5 | constructor(props) { | ||||
6 | super(props); | ||||
7 | } | ||||
8 | |||||
9 | |||||
10 | render() { | ||||
11 | return ( | ||||
12 | <h1 className={Styles.title} id={this.props.id}>{this.props.children}</h1> | ||||
13 | ) | ||||
14 | } | ||||
15 | } | ||||
16 | |||||
17 | export default SectionHeading; |