🌐 AI搜索 & 代理 主页
Skip to content

Commit 1e28ca0

Browse files
authored
Update package.json
1 parent a934921 commit 1e28ca0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/components/button/package.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,28 @@
1010
"aliases": [
1111
"BBtn"
1212
],
13+
"props": [
14+
{
15+
"prop": "block",
16+
"description": "Renders a 100% width button (expands to the width of it's parent container)"
17+
},
18+
{
19+
"prop": "type",
20+
"description": "The value to set teh buttons's 'type' attribute to. Can be one of 'button', 'submit', or 'reset'"
21+
},
22+
{
23+
"prop": "pill",
24+
"description": "Renders the button with the pill style appearance when set to 'true'"
25+
},
26+
{
27+
"prop": "squared",
28+
"description": "Renders the button with non-rounded corners when set to 'true'"
29+
},
30+
{
31+
"prop": "pressed",
32+
"description": "When set to 'true', gives the button the appearance of being pressed. Syncable with the .sync modifier"
33+
}
34+
],
1335
"events": [
1436
{
1537
"event": "click",

0 commit comments

Comments
 (0)