Skip to content

Commit

Permalink
feat(frontend): action-table component
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Apr 12, 2024
1 parent 3afd764 commit bee79d5
Show file tree
Hide file tree
Showing 9 changed files with 196 additions and 0 deletions.
33 changes: 33 additions & 0 deletions helpers/frontend/views/frontend-components.njk
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,39 @@
}]
}) }}

<h2><code>action-table</code></h2>

{{ actionTable({
caption: "Dates and amounts",
firstCellIsHeader: true,
head: [
{
text: "Name"
},
{
text: "Age"
}
],
rows: [
[
{
text: "Peter"
},
{
text: "10"
}
],
[
{
text: "Paul"
},
{
text: "12"
}
]
]
}) }}

<h2><code>authorize</code></h2>

{{ authorize({
Expand Down
Loading

0 comments on commit bee79d5

Please sign in to comment.