pineafan | c540da9 | 2021-09-03 20:33:36 +0100 | [diff] [blame] | 1 | import { Component } from 'react'; |
2 | |||||
3 | class Paragraph extends Component { | ||||
4 | render () { | ||||
5 | return ( | ||||
pineafan | df39fd4 | 2021-09-04 16:05:27 +0100 | [diff] [blame] | 6 | <p style={{width: "100%", textAlign: "left", paddingLeft: "15%", paddingRight: "15%", fontSize: "120%", color: "var(--card-text-color)"}}> |
7 | {this.props.children} | ||||
8 | </p> | ||||
pineafan | c540da9 | 2021-09-03 20:33:36 +0100 | [diff] [blame] | 9 | ); |
10 | } | ||||
11 | } | ||||
12 | |||||
13 | export default Paragraph; |