"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const index = require("../../../icon/index.js");
const index$1 = require("../../../../../../@element-plus/icons-vue/dist/index.js");
const Vue = require("vue");
const ExpandIcon = (props) => {
  const { expanded, expandable, onExpand, style, size, ariaLabel } = props;
  return Vue.createVNode("button", Vue.mergeProps({
    onClick: expandable ? () => onExpand(!expanded) : void 0,
    ariaLabel,
    ariaExpanded: expanded,
    class: props.class
  }, { "type": "button" }), [Vue.createVNode(index.ElIcon, {
    "size": size,
    "style": style
  }, { default: () => [Vue.createVNode(index$1.ArrowRight, null, null)] })]);
};
ExpandIcon.inheritAttrs = false;
exports.default = ExpandIcon;
