Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.