Fix name for identify components

old
@soyjavi 2015-11-05 07:04:56 +07:00
parent 5d4c7293d3
commit 0468c87999
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ class Head extends React.Component {
render () {
return (
<thead data-component-table-head className={this.props.className}>
<thead data-react-toolbox-table='head' className={this.props.className}>
<tr>
{ this.renderCellSelectable() }
{

View File

@ -82,7 +82,7 @@ class Row extends React.Component {
if (this.props.selected) className += ` ${style.selected}`;
return (
<tr data-component-table-row className={className}>
<tr data-react-toolbox-table='row' className={className}>
{ this.renderCellSelectable() }
{
Object.keys(this.props.model).map((key) => {

View File

@ -107,7 +107,7 @@ class Table extends React.Component {
render () {
const className = `${this.props.className} ${style.root}`;
return (
<table data-component-table className={className}>
<table data-react-toolbox='table' className={className}>
{ this.renderHead() }
{ this.renderBody() }
</table>