import Component from './component.js'
import TrComponent from './tr.js'

export default class TbodyComponent extends Component {
  constructor(parent, selector) {
    if (selector) {
      super(parent, selector);
    } else {
      super(parent, 'tbody');
    }
  }
  get trCo() {
    return new TrComponent(this.currentPath);
  }
}