import TyComponent from '../common/component'

TyComponent({
  /**
   * 组件的属性列表
   */
  properties: {

    value: {
      type: Number,
      value: 0
    },
    size: {
      type: [String, Number],
      value: 100
    },
    color: {
      type: [String, Object],
      value: '#1989fa'
    },
    layerColor: {
      type: String,
      value: '#fff'
    },
    fill: {
      type: String
    },
    speed: {
      type: Number,
      value: 50
    },
    text: {
      type: String
    },
    strokeWidth: {
      type: Number,
      value: 4
    },
    clockwise: {
      type: Boolean,
      value: true
    }

  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})
