<template>
  <div style="display: flex;justify-content: flex-end;">
    <div
      class="el-upload-loading"
      :style="{
        width: width + 'px',
        height: width + 'px',
        position: 'relative',
        lineHeight: width + 'px',
      }"
    >
      <el-progress
        type="circle"
        :percentage="percentage"
        :width="width"
      ></el-progress>
    </div>
  </div>
</template>

<script>
import ElProgress from "modesign-ui/packages/progress";
export default {
  components: { ElProgress },
  props: {
    percentage: {
      type: [Number, String],
      default: 0,
    },
    width: {
      type: Number,
      default: 16,
    },
  },
};
</script>
