export default {
  props: {
    //
    name: {
      type: String,
      default: '',
    },
    // name 传入的是否是图片路径
    image: {
      type: Boolean,
      default: false,
    },
    //
    opacity: {
      type: String,
      default: '1',
    },
    size: {
      type: Number,
      default: 24,
    },
    // rpx | px
    unit: {
      type: String,
      default: 'px',
    },
    color: {
      type: String,
      default: '#333',
    },
    //字重
    fontWeight: {
      type: [Number, String],
      default: 'normal',
    },
    //是否禁用点击
    disabled: {
      type: Boolean,
      default: false,
    },
    params: {
      type: [Number, String],
      default: 0,
    },
    //是否显示为主色调，color为空时有效。
    primary: {
      type: Boolean,
      default: false,
    },
  },
}
