import { ElIcon } from "../../../icon/index.mjs";
import { ArrowRight as arrow_right_default } from "../../../../../../@element-plus/icons-vue/dist/index.mjs";
import { createVNode, mergeProps } from "vue";
const ExpandIcon = (props) => {
  const { expanded, expandable, onExpand, style, size, ariaLabel } = props;
  return createVNode("button", mergeProps({
    onClick: expandable ? () => onExpand(!expanded) : void 0,
    ariaLabel,
    ariaExpanded: expanded,
    class: props.class
  }, { "type": "button" }), [createVNode(ElIcon, {
    "size": size,
    "style": style
  }, { default: () => [createVNode(arrow_right_default, null, null)] })]);
};
ExpandIcon.inheritAttrs = false;
export {
  ExpandIcon as default
};
