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

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
This commit is contained in:
Wit〆苗大 2023-03-14 17:06:41 +08:00 committed by GitHub
parent 3b0077dc73
commit e938e8e9a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = {