pineafan | df39fd4 | 2021-09-04 16:05:27 +0100 | [diff] [blame^] | 1 | import { Component } from "react"; |
2 | import Styles from '../styles/subheading.module.css'; | ||||
3 | |||||
4 | class SubHeading extends Component { | ||||
5 | constructor(props) { | ||||
6 | super(props); | ||||
7 | } | ||||
8 | |||||
9 | |||||
10 | render() { | ||||
11 | return ( | ||||
12 | <h2 className={Styles.title} id={this.props.id}>{this.props.children}</h2> | ||||
13 | ) | ||||
14 | } | ||||
15 | } | ||||
16 | |||||
17 | export default SubHeading; |