import { r as registerInstance, h } from './core-3f33e631.js';

const IconOpener = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.open = false;
    }
    render() {
        return (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18" }, this.open ? h("path", { d: "M9 6l-4 4h8z" }) : h("path", { d: "M5 8l4 4 4-4z" })));
    }
    static get style() { return ".sc-anj-icon-opener-h {\n  display: inline-block;\n  text-decoration: none;\n}\n.sc-anj-icon-opener-h svg.sc-anj-icon-opener {\n  fill: currentColor;\n}\n\nanj-select.sc-anj-icon-opener-h svg.sc-anj-icon-opener, anj-select .sc-anj-icon-opener-h svg.sc-anj-icon-opener {\n  vertical-align: baseline;\n}"; }
};

export { IconOpener as anj_icon_opener };
