pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [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; |