From d3f88b2406cead2baffcde621550dea93457fad9 Mon Sep 17 00:00:00 2001 From: Hao <47264468+whzxc@users.noreply.github.com> Date: Thu, 9 Feb 2023 22:24:21 +0800 Subject: [PATCH] Button: fix web-types type props (#22281) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit type属性少了个引号,会导致webstorm无法识别type="text"的情况 --- web-types.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-types.json b/web-types.json index 22c289d9b..5b6201b27 100644 --- a/web-types.json +++ b/web-types.json @@ -371,7 +371,7 @@ { "name": "type", "description": "Button type", - "type": "'primary' | 'success' | 'warning' | 'danger' | 'info' | 'text" + "type": "'primary' | 'success' | 'warning' | 'danger' | 'info' | 'text'" }, { "name": "plain",