Browse Source

perf(BasicButton): 按钮颜色设置支持主题色primary (#2623)

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
pull/2628/head
Wit〆苗大 4 years ago
committed by GitHub
parent
commit
e938e8e9a8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/components/Button/src/props.ts

2
src/components/Button/src/props.ts

@ -1,4 +1,4 @@
const validColors = ['error', 'warning', 'success', ''] as const;
const validColors = ['primary', 'error', 'warning', 'success', ''] as const;
type ButtonColorType = typeof validColors[number];
export const buttonProps = {

Loading…
Cancel
Save