import TyComponent from '../common/component'

TyComponent({
  /**
   * 组件的属性列表
   */
  properties: {
    name: {
      type: String,
    },
    dot: {
      type: Boolean,
      value: false
    },
    info: {
      type: [String, Number]
    },
    color: {
      type: String,
    },
    size: {
      type: [String, Number],
    },
    customStyle: {
      type: String
    },
    classPrefix: {
      type: String,
      value: 'ht'
    },
    customClass: {
      type: String
    }

  },

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

  },

  /**
   * 组件的方法列表
   */
  methods: {
    handleClick(event) {
      this.triggerEvent('click', event.detail)
    },
  }
})
