Skip to content

Instantly share code, notes, and snippets.

@clc80

clc80/title.js

Created May 31, 2018
Embed
What would you like to do?
import React, { Component } from 'react';
class Title extends React.Component {
render() {
return (
<div className="header">
<h2 className="title">
{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.