'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const __chunk_1 = require('./chunk-c92d86f4.js');

class CardAction {
    constructor(hostRef) {
        __chunk_1.registerInstance(this, hostRef);
    }
    async componentWillLoad() {
        if (!this.icon && !this.label) {
            console.error('You must define an icon or a label');
            return Promise.reject();
        }
        if (this.icon && !this.label) {
            console.warn('You should define a label in addition to the icon');
        }
    }
    render() {
        return;
    }
    static get style() { return ""; }
}

exports.materials_card_action = CardAction;
