Created
June 1, 2018 19:42
-
-
Save clc80/d31cb2783d12b85739af13ae316f986a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
class Title extends React.Component { | |
render() { | |
return ( | |
<div style={{backgroundColor: '#0e4db2'}}> | |
<h2 style={{fontFamily: 'cursive', fontSize: '24px'}}> | |
{this.props.title} | |
</h2> | |
</div> | |
); | |
} | |
} | |
export default Title; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment