Skip to content

Commit d3f88b2

Browse files
authored
Button: fix web-types type props (#22281)
type属性少了个引号,会导致webstorm无法识别type="text"的情况
1 parent 796a223 commit d3f88b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-types.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@
371371
{
372372
"name": "type",
373373
"description": "Button type",
374-
"type": "'primary' | 'success' | 'warning' | 'danger' | 'info' | 'text"
374+
"type": "'primary' | 'success' | 'warning' | 'danger' | 'info' | 'text'"
375375
},
376376
{
377377
"name": "plain",

0 commit comments

Comments
 (0)