'use strict';

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

const core = require('./core-c57a47e8.js');

const CardAction = class {
    constructor(hostRef) {
        core.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;
