Skip to content

Commit

Permalink
row block added for table
Browse files Browse the repository at this point in the history
  • Loading branch information
omprakashgupta1995 committed Oct 9, 2024
1 parent 465006e commit 4a0845c
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
18 changes: 17 additions & 1 deletion component-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,23 @@
"resourceType": "core/franklin/components/block/v1/block",
"template": {
"name": "Table",
"model": "table"
"model": "table",
"filter": "table"
}
}
}
}
},
{
"title": "Row",
"id": "row",
"plugins": {
"xwalk": {
"page": {
"resourceType": "core/franklin/components/block/v1/block/item",
"template": {
"name": "Row",
"model": "row"
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions component-filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@
"id": "cards",
"components": ["card"]
},
{
"id": "table",
"components": ["row"]
},
{
"id": "carousel",
"components": [
Expand Down
19 changes: 19 additions & 0 deletions component-models.json
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,25 @@
}
]
},
{
"id": "row",
"fields": [
{
"component": "text",
"valueType": "number",
"label": "Rows",
"name": "rows",
"value": ""
},
{
"component": "text",
"valueType": "number",
"label": "Columns",
"name": "columns",
"value": ""
}
]
},
{
"id": "breadcrumb",
"fields": [
Expand Down

0 comments on commit 4a0845c

Please sign in to comment.