/**
 * This export default class requires the module {@link module./component}.
  * @requires ./component
 */
import Component from '../../component.js'

/**
 * Create component with selector 'tr'.
 */
export default class CoEuiTableRow extends Component {

  /**
   * Constructor
   * @param {string| Component object } parent - Expects parent
   * @param {string} selector - optional parameter for selector
   */
  constructor(parent, selector) {
    if (selector) {
      super(parent, selector);
    } else {
      super(parent, 'tr');
    }
  }
}
