import { defineComponent } from "vue";
import { useRenderIcon } from "/@/components/ReIcon/src/hooks";

const ActionLog = defineComponent({
  name: "ActionLog",
  emits: ["log"],
  setup(_, { emit }) {
    return () => (
      <el-button
        class="reset-margin"
        link
        size="small"
        type="primary"
        onClick={() => emit("log")}
        icon={useRenderIcon("tickets")}
      />
    );
  }
});

export default ActionLog;
