Ben Lin
2024-10-30 28a53fe81cdb551d2bf2023167487a3060e0f180
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 },
};