Skip to content

Commit

Permalink
Merge pull request #399 from helsingborg-stad/chore/box-typings
Browse files Browse the repository at this point in the history
chore: box typings
  • Loading branch information
NiclasNorin authored Mar 28, 2024
2 parents 616b1d4 + 8e0d9f5 commit 4cba442
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions source/php/Component/Box/box.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"secondaryMeta": "",
"link": "",
"ratio": "1:1",
"date": false,
"image": false,
"icon": false
"date": "",
"image": [],
"icon": ""
},
"description": {
"heading": "The heading of the block",
Expand All @@ -22,6 +22,17 @@
"image": "Image object (see image component), svg or raster image.",
"icon": "Icon name as a string."
},
"types":{
"heading": "string",
"content": "string",
"meta": "string|array",
"secondaryMeta": "string|array",
"link": "string",
"ratio": "string",
"date": "string",
"image": "array|object",
"icon": "string"
},
"view": "box.blade.php",
"dependency": {
"sass": {
Expand Down

0 comments on commit 4cba442

Please sign in to comment.