From e938e8e9a8b1b3212345c2e7ad01f1845087cc36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wit=E3=80=86=E8=8B=97=E5=A4=A7?= <454690789@qq.com> Date: Tue, 14 Mar 2023 17:06:41 +0800 Subject: [PATCH] =?UTF-8?q?perf(BasicButton):=20=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E8=AE=BE=E7=BD=AE=E6=94=AF=E6=8C=81=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E8=89=B2primary=20(#2623)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 苗大 --- src/components/Button/src/props.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Button/src/props.ts b/src/components/Button/src/props.ts index 806d3957..2fee101e 100644 --- a/src/components/Button/src/props.ts +++ b/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 = { -- GitLab