import { ElIcon } from "../../../icon/index.mjs";
import { SortOrder } from "../constants.mjs";
import { SortUp as sort_up_default, SortDown as sort_down_default } from "../../../../../../@element-plus/icons-vue/dist/index.mjs";
import { createVNode } from "vue";
const SortIcon = (props) => {
  const { sortOrder } = props;
  return createVNode("button", {
    "type": "button",
    "aria-label": props.ariaLabel,
    "class": props.class
  }, [createVNode(ElIcon, { "size": 14 }, { default: () => [sortOrder === SortOrder.ASC ? createVNode(sort_up_default, null, null) : createVNode(sort_down_default, null, null)] })]);
};
export {
  SortIcon as default
};
