You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
386 B
29 lines
386 B
import PropTypes from 'prop-types';
|
|
import React, { Component } from 'react';
|
|
|
|
class TableHeader extends Component {
|
|
|
|
//
|
|
// Render
|
|
|
|
render() {
|
|
const {
|
|
children
|
|
} = this.props;
|
|
|
|
return (
|
|
<thead>
|
|
<tr>
|
|
{children}
|
|
</tr>
|
|
</thead>
|
|
);
|
|
}
|
|
}
|
|
|
|
TableHeader.propTypes = {
|
|
children: PropTypes.node
|
|
};
|
|
|
|
export default TableHeader;
|