viddo/atom-textual-velocity

View on GitHub
lib/react/presentationals/Header.js

Summary

Maintainability
A
0 mins
Test Coverage
/* @flow */

import * as React from "react";

type Props = {
  children?: React.Node
};

export default class Header extends React.Component<Props> {
  render() {
    return (
      <div className="header">
        <table>
          <thead>
            <tr>{this.props.children}</tr>
          </thead>
        </table>
      </div>
    );
  }
}