Skip to content

Commit

Permalink
Merge pull request #402 from helsingborg-stad/chore/button-typings
Browse files Browse the repository at this point in the history
chore: button typings
  • Loading branch information
NiclasNorin authored Mar 27, 2024
2 parents cc49dfe + ecb3520 commit dbc92a3
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion source/php/Component/Button/button.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"pressed": "false",
"toggle": false,
"icon": false,
"attributeList": [],
"reversePositions": false,
"fullWidth": false,
"classListIcon": [],
Expand Down Expand Up @@ -45,6 +44,28 @@
"ariaLabel": "Aria label text for the button",
"disableColor": "To use or not to use the disabled color even if the button is disabled"
},
"types":{
"text": "string|boolean",
"size": "string",
"color": "string",
"type": "string",
"style": "string",
"shape": "string",
"href": "string|boolean",
"target": "string",
"componentElement":"string",
"labelElement":"string",
"ripple": "boolean",
"pressed": "boolean",
"toggle": "boolean",
"icon": "string|boolean",
"reversePositions": "boolean",
"fullWidth": "boolean",
"classListIcon": "array",
"classListText": "array",
"ariaLabel": "string|boolean",
"disableColor": "boolean"
},
"view":"button.blade.php",
"dependency": {
"sass": {
Expand Down

0 comments on commit dbc92a3

Please sign in to comment.