Ben Lin
2024-06-18 ebbd788fbb2c0b45d4473798efc57eec8ba74a25
src/components/Button/src/props.ts
@@ -22,5 +22,6 @@
   * @default: 14
   */
  iconSize: { type: Number, default: 14 },
  onClick: { type: Function as PropType<(...args) => any>, default: null },
  onClick: { type: [Function, Array] as PropType<(() => any) | (() => any)[]>, default: null },
  text: { type: String },
};