perf(BasicButton): 按钮颜色设置支持主题色primary (#2623)
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
This commit is contained in:
parent
3b0077dc73
commit
e938e8e9a8
|
|
@ -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…
Reference in New Issue