• Sign in

web / steffers.org · Files

Dogs2 white

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Forks
  • Snippets
  • Network
  • steffers.org
  • react
  • src
  • Common
  • Title.js
  • first go version
      c796f10f
    Georg Hopp authored
    2017-11-10 18:40:43 +0100  
    Browse Files »
Title.js 299 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import React, { Component } from 'react';
import './Title.css';

class Title extends Component {
  render() {
    return (
      <div className="title">
        <h2>{this.props.headline}</h2>
        {this.props.children}
      </div>
      );
  }
}

export default Title;
// vim: set ts=2 sw=2 et: