Skip to content

Commit

Permalink
custom-elements.json
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Dec 2, 2024
1 parent 28eec3c commit 0d336b4
Showing 1 changed file with 31 additions and 3 deletions.
34 changes: 31 additions & 3 deletions packages/elements/custom-elements.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,18 @@
"type": {
"text": "HTMLImageElement"
}
},
{
"name": "maxWidth",
"type": {
"text": "number"
}
},
{
"name": "maxHeight",
"type": {
"text": "number"
}
}
]
}
Expand Down Expand Up @@ -1052,7 +1064,7 @@
"type": {
"text": "string"
},
"default": "\"avatar\""
"default": "'avatar'"
},
{
"kind": "field",
Expand All @@ -1066,9 +1078,9 @@
"kind": "field",
"name": "shape",
"type": {
"text": "\"circle\" | \"square\" | \"rounded\""
"text": "'circle' | 'square' | 'rounded'"
},
"default": "\"circle\""
"default": "'circle'"
},
{
"kind": "field",
Expand All @@ -1092,6 +1104,22 @@
"text": "string | undefined"
}
},
{
"kind": "field",
"name": "avatarWidth",
"type": {
"text": "number"
},
"default": "300"
},
{
"kind": "field",
"name": "avatarHeight",
"type": {
"text": "number"
},
"default": "300"
},
{
"kind": "field",
"name": "label",
Expand Down

0 comments on commit 0d336b4

Please sign in to comment.