import ButtonComponent from '../button.js';
import Component from '../component.js';
import CoEuiIconSvg from './eui-icon-svg.js';

export default class CoEuiIconButton extends Component {
    constructor(parent) {
      let selector = 'eui-icon-button';
      super(parent, selector);
      // https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/eui-icon-button/eui-icon-button.component.html
    }
    get buttonCO(){
      return new ButtonComponent(this.currentPath).addPredicateClassContains('eui-icon-button__button');
    }
    get buttonIconCO(){
      return new CoEuiIconSvg(this.buttonCO);
    }
}
